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
a830769987
commit
e366cb4537
1 changed files with 1 additions and 1 deletions
|
@ -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)):
|
||||||
|
|
Loading…
Reference in a new issue