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

bot.music_data[guild] now has Star Platinum

This commit is contained in:
Steffo 2019-11-05 10:28:14 +01:00
parent 179f1dc8e9
commit 314273c2c0

View file

@ -47,7 +47,7 @@ class ZawarudoCommand(Command):
"https://scaleway.steffo.eu/jojo/zawarudo_outro.mp3", "https://scaleway.steffo.eu/jojo/zawarudo_outro.mp3",
**ytdl_args) **ytdl_args)
old_playlist = bot.music_data[guild] old_playlist = bot.music_data[guild]
bot.music_data[guild] = Playlist() bot.music_data[guild].playmode = Playlist()
# Get voice client # Get voice client
vc: discord.VoiceClient = bot.client.find_voice_client_by_guild(guild) vc: discord.VoiceClient = bot.client.find_voice_client_by_guild(guild)
channel: discord.VoiceChannel = vc.channel channel: discord.VoiceChannel = vc.channel