From 96135d4aa941f1c270d87c5102bc58eea44ebc8e Mon Sep 17 00:00:00 2001 From: Jeremy Noesen Date: Wed, 28 Aug 2024 10:49:32 -0500 Subject: [PATCH] log in to fakeyou for higher priority in queue --- main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/main.py b/main.py index 874f8d7..b65f556 100644 --- a/main.py +++ b/main.py @@ -31,6 +31,7 @@ def load_wav(path, end, gain, repeat, fade, delay): load_dotenv() gpt = AsyncOpenAI(api_key=os.getenv("OPENAI_API_KEY")) fy = FakeYou() +fy.login(os.getenv("FAKEYOU_USERNAME"), os.getenv("FAKEYOU_PASSWORD")) client = discord.Client(intents=discord.Intents.default(), activity=discord.Game("/generate /status")) tree = app_commands.CommandTree(client) music_closing_theme = load_wav("music/closing_theme.wav", -2000, -40, True, 10000, 2000)