1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2025-02-17 10:53:57 +00:00

fix stack instead of queue

This commit is contained in:
Steffo 2018-03-01 23:58:50 +01:00
parent 668595908b
commit 0b86fd1ce4
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: C27544372FBB445D

View file

@ -18,7 +18,7 @@ import asyncio
import configparser
# Queue emojis
queue_emojis = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "🔟"]
queue_emojis = [":one:", ":two:", ":three:", ":four:", ":five:", ":six:", ":seven:", ":eight:", ":nine:", ":ten:"]
# Init the event loop
loop = asyncio.get_event_loop()
@ -331,7 +331,7 @@ async def update_music_queue():
await client.change_presence()
await asyncio.sleep(1)
continue
video = voice_queue.pop()
video = voice_queue.pop(0)
if video.ytdl_url:
await client.send_message(client.get_channel(config["Discord"]["main_channel"]),
f" E' iniziato il download di `{video.ytdl_url}`.")