From b67ba23c000da6748c15cf9d3cfd77b5074383e1 Mon Sep 17 00:00:00 2001 From: Caleb Johnson Date: Wed, 14 Sep 2016 15:40:06 -0500 Subject: [PATCH] [Main] Ignore bots on on_message (#376) --- red.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/red.py b/red.py index ba8cb3710..ff5eaac2f 100644 --- a/red.py +++ b/red.py @@ -114,6 +114,9 @@ def user_allowed(message): mod = bot.get_cog('Mod') + if author.bot: + return False + if mod is not None: if settings.owner == author.id: return True