aboutsummaryrefslogtreecommitdiff
path: root/code/cogs/autoplay.py
diff options
context:
space:
mode:
authorParker <contact@pkrm.dev>2025-02-17 21:24:31 -0600
committerParker <contact@pkrm.dev>2025-02-17 21:24:31 -0600
commit06034d0b373a9aed5033c2e670950f765e285c2a (patch)
tree9121832c8535afae443cf5d581e302af8d0fae7b /code/cogs/autoplay.py
parentb335e82699bc177c689450ee2f732398cdd372ac (diff)
Support OpenAI AND Groq
Diffstat (limited to 'code/cogs/autoplay.py')
-rw-r--r--code/cogs/autoplay.py4
1 files changed, 1 insertions, 3 deletions
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:",