From a9491dacb7c8c6e1e7324cfa8af93aba0834e49f Mon Sep 17 00:00:00 2001 From: Myned Date: Mon, 20 Nov 2017 11:27:52 -0500 Subject: [PATCH] Added ignoring of bot messages in on_message --- src/main/run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/run.py b/src/main/run.py index a9b7f3a..3098ecd 100644 --- a/src/main/run.py +++ b/src/main/run.py @@ -101,7 +101,7 @@ async def on_ready(): @bot.event async def on_message(message): - if message.author is not bot.user: + if message.author is not bot.user and not message.author.bot: await bot.process_commands(message)