mirror of
https://github.com/myned/modufur.git
synced 2024-11-01 21:02:38 +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,10 +59,8 @@ async def on_ready():
|
|||
|
||||
@bot.event
|
||||
async def on_message(message):
|
||||
if message.author is bot.user:
|
||||
return
|
||||
|
||||
await bot.process_commands(message)
|
||||
if message.author is not bot.user:
|
||||
await bot.process_commands(message)
|
||||
|
||||
|
||||
@bot.event
|
||||
|
|
Loading…
Reference in a new issue