message passing code
This commit is contained in:
parent
a212804b8d
commit
abbfed80ba
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue