mirror of
https://github.com/myned/modufur.git
synced 2024-12-24 22:27:28 +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
|
@bot.event
|
||||||
async def on_message(message):
|
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)
|
await bot.process_commands(message)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue