mirror of
https://github.com/myned/modufur.git
synced 2024-12-25 06:37:29 +00:00
Changed check-return to check-pass
This commit is contained in:
parent
2850d00d24
commit
9271210342
1 changed files with 2 additions and 4 deletions
|
@ -59,9 +59,7 @@ async def on_ready():
|
||||||
|
|
||||||
@bot.event
|
@bot.event
|
||||||
async def on_message(message):
|
async def on_message(message):
|
||||||
if message.author is bot.user:
|
if message.author is not bot.user:
|
||||||
return
|
|
||||||
|
|
||||||
await bot.process_commands(message)
|
await bot.process_commands(message)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue