aboutsummaryrefslogtreecommitdiff
path: root/code/utils
diff options
context:
space:
mode:
authorParker <contact@pkrm.dev>2025-03-25 23:14:40 -0500
committerParker <contact@pkrm.dev>2025-03-25 23:14:40 -0500
commitb343d0d45b0bafadaf2947aef4b2fe2a19d726f5 (patch)
treeb2db2af282fe70939de1748d24af7ca73f50c73b /code/utils
parent106692551b83e0cadea30be7664e17363e1061dd (diff)
Better fix
Diffstat (limited to 'code/utils')
-rw-r--r--code/utils/config.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/code/utils/config.py b/code/utils/config.py
index c880bdc..19fed87 100644
--- a/code/utils/config.py
+++ b/code/utils/config.py
@@ -44,7 +44,6 @@ AI_MODEL = None
LAVALINK_HOST = None
LAVALINK_PORT = None
LAVALINK_PASSWORD = None
-YOUTUBE_BROKEN = False
schema = {
"type": "object",
@@ -163,7 +162,7 @@ ai:
# Thouroughly validate all of the options in the config.yaml file
def validate_config(file_contents):
- global TOKEN, BOT_COLOR, BOT_INVITE_LINK, FEEDBACK_CHANNEL_ID, BUG_CHANNEL_ID, LOG_SONGS, YOUTUBE_SUPPORT, SPOTIFY_CLIENT_ID, SPOTIFY_CLIENT_SECRET, GENIUS_CLIENT_ID, GENIUS_CLIENT_SECRET, AI_CLIENT, AI_MODEL, LAVALINK_HOST, LAVALINK_PORT, LAVALINK_PASSWORD, YOUTUBE_BROKEN
+ global TOKEN, BOT_COLOR, BOT_INVITE_LINK, FEEDBACK_CHANNEL_ID, BUG_CHANNEL_ID, LOG_SONGS, YOUTUBE_SUPPORT, SPOTIFY_CLIENT_ID, SPOTIFY_CLIENT_SECRET, GENIUS_CLIENT_ID, GENIUS_CLIENT_SECRET, AI_CLIENT, AI_MODEL, LAVALINK_HOST, LAVALINK_PORT, LAVALINK_PASSWORD
config = yaml.safe_load(file_contents)
try:
@@ -299,8 +298,6 @@ def validate_config(file_contents):
LAVALINK_PORT = config["lavalink"]["port"]
LAVALINK_PASSWORD = config["lavalink"]["password"]
- YOUTUBE_BROKEN = False
-
"""
Template for embeds