please just end me

This commit is contained in:
Adriene Hutchins 2020-03-02 23:49:21 -05:00
parent 26b3cfbd83
commit 01d657a214
1 changed files with 5 additions and 1 deletions

View File

@ -142,9 +142,13 @@ class Bot(commands.Bot):
mentions = [self.user.mention, f'<@!{self.user.id}>']
ctx = await self.get_context(message)
# Avoid warnings while loading
if not hasattr(bot, 'appinfo'):
return
# Handling
# Turn away bots
if message.author.bot:
elif message.author.bot:
return
# Ignore blocked users