From 4a6e219dafe024e9c8521b0be503c27e376f4e44 Mon Sep 17 00:00:00 2001 From: sgoudham Date: Tue, 18 Aug 2020 02:28:05 +0100 Subject: [PATCH] Making if statement into one line --- bot/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bot/__init__.py b/bot/__init__.py index 623b2c60..1eb819a5 100644 --- a/bot/__init__.py +++ b/bot/__init__.py @@ -341,8 +341,8 @@ class Bot(commands.Bot): async def on_message(self, message): """Make sure bot messages are not tracked""" - if message.author.bot: - return + if message.author.bot: return + # Processing the message await self.process_commands(message)