message passing code

This commit is contained in:
Sebastian Mäki 2024-02-20 13:06:15 +00:00
parent a212804b8d
commit abbfed80ba
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ class DiscordBotPlugin(PHALPlugin):
await admin.send("I'm now online") await admin.send("I'm now online")
# Discord event: Process incoming messages # Discord event: Process incoming messages
@this.bot.event @self.bot.event
async def on_message(message): async def on_message(message):
if message.author == bot.user: if message.author == bot.user:
return return