Fix other.py failing to load

This commit is contained in:
nexy7574 2023-10-30 18:33:46 +00:00
parent 5534f12e49
commit b109e93cb2

View file

@ -871,12 +871,7 @@ class OtherCog(commands.Cog):
default="" default=""
) = "", ) = "",
extract_audio: bool = False, extract_audio: bool = False,
cookies_txt: discord.Option( cookies_txt: discord.Attachment = None
name="cookies.txt",
description="Your cookies.txt file.",
type=discord.Attachment,
default=None
)
): ):
"""Downloads a video using youtube-dl""" """Downloads a video using youtube-dl"""
cookies = io.StringIO() cookies = io.StringIO()