refactor(constants): sort variables
This commit is contained in:
parent
6887ebe087
commit
d9d35a2672
31
constants.py
31
constants.py
@ -1,5 +1,20 @@
|
||||
import os
|
||||
|
||||
YTDL_OPTIONS = {
|
||||
"color": "never",
|
||||
"default_search": "auto",
|
||||
"format": "bestaudio/best",
|
||||
"ignoreerrors": False,
|
||||
"logtostderr": False,
|
||||
"no_warnings": True,
|
||||
"noplaylist": True,
|
||||
"outtmpl": "%(extractor)s-%(id)s-%(title)s.%(ext)s",
|
||||
"quiet": True,
|
||||
"restrictfilenames": True,
|
||||
"socket_timeout": 15,
|
||||
"source_address": "0.0.0.0",
|
||||
}
|
||||
|
||||
EMBED_COLOR = 0xFF6600
|
||||
OWNERS = [531392146767347712]
|
||||
PREFIX = "%"
|
||||
@ -19,22 +34,6 @@ RELOADABLE_MODULES = [
|
||||
"youtubedl",
|
||||
]
|
||||
|
||||
YTDL_OPTIONS = {
|
||||
"color": "never",
|
||||
"default_search": "auto",
|
||||
"format": "bestaudio/best",
|
||||
"ignoreerrors": False,
|
||||
"logtostderr": False,
|
||||
"no_warnings": True,
|
||||
"noplaylist": True,
|
||||
"outtmpl": "%(extractor)s-%(id)s-%(title)s.%(ext)s",
|
||||
"quiet": True,
|
||||
"restrictfilenames": True,
|
||||
"socket_timeout": 15,
|
||||
"source_address": "0.0.0.0",
|
||||
}
|
||||
|
||||
|
||||
SECRETS = {
|
||||
"TOKEN": os.getenv("BOT_TOKEN"),
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user