From c62d2306974475aa82da8902dc3c973705588043 Mon Sep 17 00:00:00 2001 From: Parker Date: Sat, 24 Aug 2024 14:56:51 -0500 Subject: Make YouTube support optional --- code/bot.py | 1 + 1 file changed, 1 insertion(+) (limited to 'code/bot.py') diff --git a/code/bot.py b/code/bot.py index 3569e68..d0154e3 100644 --- a/code/bot.py +++ b/code/bot.py @@ -28,6 +28,7 @@ class MyBot(commands.Bot): bot.openai = openai.OpenAI(api_key=config.OPENAI_API_KEY) config.LOG.info("Loading cogs...") + config.LOG.info("YouTube support is enabled" if config.YOUTUBE_SUPPORT else "YouTube support is disabled") for ext in os.listdir("./code/cogs"): if ext.endswith(".py"): # Load the OPTIONAL feedback cog -- cgit v1.2.3-70-g09d2