message passing code
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user