Fix retry
This commit is contained in:
parent
b765f8d1eb
commit
c21175622a
1 changed files with 2 additions and 2 deletions
|
@ -129,7 +129,7 @@ def download_video(index):
|
|||
except Exception:
|
||||
print("handling youtube exception")
|
||||
global failures
|
||||
if retries % 2 == 0:
|
||||
if retries % 2 == 1:
|
||||
queue.pop(index)
|
||||
if not (os.getenv("PERMANENT_MAX_QUEUE","FALSE") == "TRUE"):
|
||||
user_queue.pop(index)
|
||||
|
@ -367,7 +367,7 @@ async def toggleplayback(inter: disnake.AppCmdInter):
|
|||
|
||||
@bot.slash_command(
|
||||
name="skip",
|
||||
description="skips the current video",
|
||||
description="skips the current video, do not run this command multiple times",
|
||||
default_member_permissions=disnake.Permissions(8192),
|
||||
)
|
||||
async def skip(inter: disnake.AppCmdInter):
|
||||
|
|
Loading…
Reference in a new issue