From abbfed80bafd7e04a634b750940bd1b20b2b0541 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20M=C3=A4ki?= Date: Tue, 20 Feb 2024 13:06:15 +0000 Subject: [PATCH] message passing code --- ovos_PHAL_plugin_discord_bot/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ovos_PHAL_plugin_discord_bot/__init__.py b/ovos_PHAL_plugin_discord_bot/__init__.py index cefaca9..4e74715 100644 --- a/ovos_PHAL_plugin_discord_bot/__init__.py +++ b/ovos_PHAL_plugin_discord_bot/__init__.py @@ -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