mirror of
https://github.com/myned/modufur.git
synced 2024-12-25 06:37:29 +00:00
Added ignoring of bot messages in on_message
This commit is contained in:
parent
a88256031a
commit
a9491dacb7
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue