[Main] Ignore bots on on_message (#376)

This commit is contained in:
Caleb Johnson 2016-09-14 15:40:06 -05:00 committed by Twentysix
parent cfc0cb47e6
commit b67ba23c00

3
red.py
View File

@ -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