From d9d35a2672c7e31417b7f3837a15f8805661c958 Mon Sep 17 00:00:00 2001 From: ErrorNoInternet Date: Mon, 6 Jan 2025 10:20:14 -0500 Subject: [PATCH] refactor(constants): sort variables --- constants.py | 31 +++++++++++++++---------------- 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/constants.py b/constants.py index 9151c29..fb4985a 100644 --- a/constants.py +++ b/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"), }