fix queue

This commit is contained in:
insert 2024-07-14 16:30:46 -04:00
parent d9ce5f4797
commit fa11be6209
Signed by: insert
GPG key ID: A70775C389ACF105
2 changed files with 1 additions and 2 deletions

2
bot.py
View file

@ -86,7 +86,7 @@ async def getqueue(inter: disnake.AppCmdInter):
message = "" message = ""
for idx, item in enumerate(queue): for idx, item in enumerate(queue):
if idx == 0: if idx == 0:
message = message + "Now playing: <{item}>\n" message = message + f"Now playing: <{item}>\n"
continue continue
message = message + f"{idx}. <{item}>\n" message = message + f"{idx}. <{item}>\n"
await inter.edit_original_response(message) await inter.edit_original_response(message)

View file

@ -4,7 +4,6 @@ pkgs.mkShell {
packages = [ packages = [
pkgs.python311 pkgs.python311
pkgs.python311Packages.selenium pkgs.python311Packages.selenium
pkgs.python311Packages.discordpy
pkgs.python311Packages.pip pkgs.python311Packages.pip
pkgs.python311Packages.python-dotenv pkgs.python311Packages.python-dotenv
pkgs.obs-studio pkgs.obs-studio