refactor(tools): clean up and use proper argument parser

This commit is contained in:
2024-12-30 03:31:49 -05:00
parent 47955cdfd5
commit 2060e25f75
8 changed files with 75 additions and 16 deletions

View File

@@ -3,8 +3,9 @@ import os
EMBED_COLOR = 0xFF6600
OWNERS = [531392146767347712]
PREFIX = "%"
RELOAD_BLACKLISTED_MODULES = ["re", "argparse"]
ytdl_format_options = {
YTDL_OPTIONS = {
"default_search": "auto",
"format": "bestaudio/best",
"ignoreerrors": False,
@@ -19,6 +20,6 @@ ytdl_format_options = {
}
secrets = {
SECRETS = {
"TOKEN": os.getenv("BOT_TOKEN"),
}