1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-27 13:34:28 +00:00
This commit is contained in:
Steffo 2019-10-03 14:53:01 +02:00
parent fe8bcd0568
commit 8f797c9bbb

View file

@ -86,7 +86,7 @@ class DiscordBot(GenericBot):
self.music_data[channel.guild] = playmodes.Playlist() self.music_data[channel.guild] = playmodes.Playlist()
async def on_message(cli, message: discord.Message): 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): async def _handle_message(cli, message: discord.Message):
text = message.content text = message.content