feat(media): media download command using yt-dlp

Introduced a new 'media' command group with a 'download' subcommand for downloading videos via yt-dlp. Updated help and README to include the new media category and command. Added yt-dlp to requirements.txt.
This commit is contained in:
neoarz
2025-10-03 12:10:45 -04:00
parent f4c3b4aae7
commit 85a43e66b0
6 changed files with 335 additions and 2 deletions

View File

@@ -13,7 +13,7 @@ class Help(commands.Cog, name="help"):
interaction: discord.Interaction,
current: str,
) -> list[app_commands.Choice[str]]:
categories = ["general", "fun", "moderation", "owner", "sidestore", "idevice", "miscellaneous", "utilities"]
categories = ["general", "fun", "moderation", "owner", "sidestore", "idevice", "media", "miscellaneous", "utilities"]
suggestions = []
for category in categories:
@@ -40,6 +40,7 @@ class Help(commands.Cog, name="help"):
"general": "general",
"fun": "fun",
"idevice": "idevice",
"media": "media",
"misc": "miscellaneous",
"miscellaneous": "miscellaneous",
"moderation": "moderation",
@@ -64,6 +65,7 @@ class Help(commands.Cog, name="help"):
"owner": "Owner commands",
"sidestore": "SideStore troubleshooting commands",
"idevice": "idevice troubleshooting commands",
"media": "Media commands",
"utilities": "Utility commands",
"miscellaneous": "Miscellaneous commands"
}