From 927121034249abff5686b472ff825e10096a9b84 Mon Sep 17 00:00:00 2001 From: Myned Date: Sun, 29 Oct 2017 17:54:50 -0400 Subject: [PATCH] Changed check-return to check-pass --- src/main/run.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/main/run.py b/src/main/run.py index 914036f..23b20ab 100644 --- a/src/main/run.py +++ b/src/main/run.py @@ -59,10 +59,8 @@ async def on_ready(): @bot.event async def on_message(message): - if message.author is bot.user: - return - - await bot.process_commands(message) + if message.author is not bot.user: + await bot.process_commands(message) @bot.event