Skip to content

Commit

Permalink
Merge pull request #65 from errbotio/fix_person
Browse files Browse the repository at this point in the history
Fix person
  • Loading branch information
nzlosh authored Mar 20, 2024
2 parents 9298753 + 1f6424b commit 1a30289
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/err-backend-discord/discordlib/room.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def from_id(cls, channel_id):
if channel is None:
raise ValueError(f"Channel id:{channel_id} doesn't exist!")

return cls(channel.name, channel.guild.id)
return cls(channel.name, channel.guild.id, channel.id)

def __init__(
self, channel_name: str = None, guild_id: str = None, channel_id: str = None
Expand Down

0 comments on commit 1a30289

Please sign in to comment.