1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 19:44:20 +00:00

Avvia il bot con radiomessages attivi

This commit is contained in:
Steffo 2018-09-08 13:03:30 +02:00
parent 871c5fb0ba
commit 03b287f534

View file

@ -294,7 +294,7 @@ class RoyalDiscordBot(discord.Client):
} }
self.video_queue: typing.List[Video] = [] self.video_queue: typing.List[Video] = []
self.now_playing = None self.now_playing = None
self.radio_messages = False self.radio_messages = True
self.next_radio_message_in = int(config["Discord"]["radio_messages_every"]) self.next_radio_message_in = int(config["Discord"]["radio_messages_every"])
asyncio.ensure_future(self.queue_predownload_videos()) asyncio.ensure_future(self.queue_predownload_videos())
asyncio.ensure_future(self.queue_play_next_video()) asyncio.ensure_future(self.queue_play_next_video())