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-08-11 21:06:39 -05:00
parent a830769987
commit e366cb4537

View file

@ -52,7 +52,7 @@ class Emotes:
): ):
raise errors.MissingManageEmojisPermission raise errors.MissingManageEmojisPermission
return True return context.command is self.list
async def on_command_error(self, context, error): async def on_command_error(self, context, error):
if isinstance(error, (errors.EmoteManagerError, errors.MissingManageEmojisPermission)): if isinstance(error, (errors.EmoteManagerError, errors.MissingManageEmojisPermission)):