1
0
Fork 0
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:
bmintz 2018-09-07 21:50:17 +00:00
parent ecefefb4c9
commit ac8a9aa320

View file

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