From 06034d0b373a9aed5033c2e670950f765e285c2a Mon Sep 17 00:00:00 2001 From: Parker Date: Mon, 17 Feb 2025 21:24:31 -0600 Subject: Support OpenAI AND Groq --- code/cogs/autoplay.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'code/cogs/autoplay.py') diff --git a/code/cogs/autoplay.py b/code/cogs/autoplay.py index 6c815b9..46672ee 100644 --- a/code/cogs/autoplay.py +++ b/code/cogs/autoplay.py @@ -75,9 +75,7 @@ class Autoplay(commands.Cog): ) await interaction.response.send_message(embed=embed) - if await add_song_recommendations( - self.bot.openai, self.bot.user, player, 5, inputs - ): + if await add_song_recommendations(self.bot.user, player, 5, inputs): self.bot.autoplay.append(interaction.guild.id) embed = create_embed( title=":infinity: Autoplay Enabled :infinity:", -- cgit v1.2.3-70-g09d2