mirror of
https://github.com/uhIgnacio/EmoteManager.git
synced 2024-08-15 02:23:13 +00:00
cogs/emote: fix local check
This commit is contained in:
parent
ecefefb4c9
commit
ac8a9aa320
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ class Emotes:
|
|||
self.bot.loop.create_task(stop_all_paginators())
|
||||
|
||||
async def __local_check(self, context):
|
||||
if not context.guild:
|
||||
if not context.guild or not isinstance(context.author, discord.Member):
|
||||
raise commands.NoPrivateMessage
|
||||
|
||||
if context.command is self.list:
|
||||
|
|
Loading…
Reference in a new issue