diff options
author | Parker <contact@pkrm.dev> | 2024-08-24 14:56:51 -0500 |
---|---|---|
committer | Parker <contact@pkrm.dev> | 2024-08-24 14:56:51 -0500 |
commit | c62d2306974475aa82da8902dc3c973705588043 (patch) | |
tree | 1a7712aa9fa90212f34b51ab785e3d7af7421e9f /code/bot.py | |
parent | 2cdaa11af4ce1a99d7bb51ef311a5262dd656bf1 (diff) |
Make YouTube support optional
Diffstat (limited to 'code/bot.py')
-rw-r--r-- | code/bot.py | 1 |
1 files changed, 1 insertions, 0 deletions
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 |