message passing code

This commit is contained in:
2024-02-20 13:06:15 +00:00
parent a212804b8d
commit abbfed80ba

View File

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