fix queue
This commit is contained in:
parent
d9ce5f4797
commit
fa11be6209
2 changed files with 1 additions and 2 deletions
2
bot.py
2
bot.py
|
@ -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)
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue