aboutsummaryrefslogtreecommitdiff
path: root/code/global_variables.py
diff options
context:
space:
mode:
Diffstat (limited to 'code/global_variables.py')
-rw-r--r--code/global_variables.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/code/global_variables.py b/code/global_variables.py
index f79a3bb..1507f7a 100644
--- a/code/global_variables.py
+++ b/code/global_variables.py
@@ -2,6 +2,7 @@ import configparser
import logging
from colorlog import ColoredFormatter
import discord
+import openai
log_level = logging.DEBUG
@@ -49,6 +50,7 @@ BOT_COLOR = discord.Color(int((config["BOT_INFO"]["BOT_COLOR"]).replace("#", "")
FEEDBACK_CHANNEL_ID = int(config["BOT_INFO"]["FEEDBACK_CHANNEL_ID"])
SPOTIFY_CLIENT_ID = config["BOT_INFO"]["SPOTIFY_CLIENT_ID"]
SPOTIFY_CLIENT_SECRET = config["BOT_INFO"]["SPOTIFY_CLIENT_SECRET"]
+CLIENT = openai.OpenAI(api_key=config["BOT_INFO"]["OPENAI_API_KEY"])
BUG_CHANNEL_ID = int(config["BOT_INFO"]["BUG_CHANNEL_ID"])
BOT_INVITE_LINK = config["BOT_INFO"]["BOT_INVITE_LINK"]