Making if statement into one line

pull/8/head
sgoudham 4 years ago
parent 8c58ae2286
commit 4a6e219daf

@ -341,8 +341,8 @@ class Bot(commands.Bot):
async def on_message(self, message): async def on_message(self, message):
"""Make sure bot messages are not tracked""" """Make sure bot messages are not tracked"""
if message.author.bot: if message.author.bot: return
return
# Processing the message # Processing the message
await self.process_commands(message) await self.process_commands(message)

Loading…
Cancel
Save