aboutsummaryrefslogtreecommitdiff
path: root/bot.py
diff options
context:
space:
mode:
Diffstat (limited to 'bot.py')
-rwxr-xr-xbot.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/bot.py b/bot.py
index 533b99d..d67dc3c 100755
--- a/bot.py
+++ b/bot.py
@@ -63,9 +63,7 @@ class BedrockBot(commands.Bot):
async def on_message(self, message):
- if message.author.bot:
- return
- if message.author.id in self.blacklist:
+ if message.author.bot or message.author.id in self.blacklist:
return
await self.process_commands(message)