diff --git a/royalnet/bots/discord.py b/royalnet/bots/discord.py index 36a8fb66..f88a2393 100644 --- a/royalnet/bots/discord.py +++ b/royalnet/bots/discord.py @@ -86,7 +86,7 @@ class DiscordBot(GenericBot): self.music_data[channel.guild] = playmodes.Playlist() async def on_message(cli, message: discord.Message): - self.loop.create_task(self._handle_message(message)) + self.loop.create_task(cli._handle_message(message)) async def _handle_message(cli, message: discord.Message): text = message.content