mirror of
https://github.com/uhIgnacio/EmoteManager.git
synced 2024-08-15 02:23:13 +00:00
fix a comment
nice commit iomintz
This commit is contained in:
parent
403241d077
commit
c3d92606ce
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ class Emotes(commands.Cog):
|
||||||
if not context.guild:
|
if not context.guild:
|
||||||
raise commands.NoPrivateMessage
|
raise commands.NoPrivateMessage
|
||||||
|
|
||||||
# we can't just do `context.command.qualified_name in self.public_commands` here
|
# we can't just do `context.command in self.public_commands` here
|
||||||
# because apparently Command.__eq__ is not defined
|
# because apparently Command.__eq__ is not defined
|
||||||
if context.command.qualified_name in self.public_commands:
|
if context.command.qualified_name in self.public_commands:
|
||||||
return True
|
return True
|
||||||
|
|
Loading…
Reference in a new issue