mirror of
https://github.com/uhIgnacio/EmoteManager.git
synced 2024-08-15 02:23:13 +00:00
allow anyone to use the list command
This commit is contained in:
parent
b48ced2508
commit
ad540e91b0
1 changed files with 3 additions and 0 deletions
|
@ -45,6 +45,9 @@ class Emotes:
|
||||||
raise commands.NoPrivateMessage
|
raise commands.NoPrivateMessage
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
if context.command is self.list:
|
||||||
|
return True
|
||||||
|
|
||||||
if (
|
if (
|
||||||
not context.author.guild_permissions.manage_emojis
|
not context.author.guild_permissions.manage_emojis
|
||||||
or not context.guild.me.guild_permissions.manage_emojis
|
or not context.guild.me.guild_permissions.manage_emojis
|
||||||
|
|
Loading…
Reference in a new issue