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

Change shuffle icon

This commit is contained in:
Steffo 2019-01-02 20:47:20 +01:00
parent 74663eb520
commit 56f63873d2

View file

@ -928,6 +928,7 @@ class RoyalDiscordBot(discord.Client):
if self.radio_messages_next_in <= 0: if self.radio_messages_next_in <= 0:
radio_message = random.sample(self.radio_messages, 1)[0] radio_message = random.sample(self.radio_messages, 1)[0]
# pycharm are you drunk # pycharm are you drunk
# noinspection PyAttributeOutsideInit
self.radio_messages_next_in = self.radio_messages_every self.radio_messages_next_in = self.radio_messages_every
await self.add_video_from_url(radio_message) await self.add_video_from_url(radio_message)
await channel.send(f"📻 Aggiunto un messaggio radio, disattiva con `!radiomessages off`.") await channel.send(f"📻 Aggiunto un messaggio radio, disattiva con `!radiomessages off`.")
@ -1086,7 +1087,7 @@ class RoyalDiscordBot(discord.Client):
return return
logger.info(f"The queue was shuffled by {author.name}#{author.discriminator}.") logger.info(f"The queue was shuffled by {author.name}#{author.discriminator}.")
self.video_queue.shuffle() self.video_queue.shuffle()
await channel.send("♠️ ♦️ ♣️ ♥️ Shuffle completo!") await channel.send("🔀 Shuffle completo!")
@command @command
@requires_connected_voice_client @requires_connected_voice_client