From 8f797c9bbb58c05bc60f19dc94f17010930b36ce Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Thu, 3 Oct 2019 14:53:01 +0200 Subject: [PATCH] derp --- royalnet/bots/discord.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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