1
0
Fork 0
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:
bmintz 2018-11-09 18:32:04 +00:00
parent b48ced2508
commit ad540e91b0

View file

@ -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