aboutsummaryrefslogtreecommitdiff
path: root/code/cogs
diff options
context:
space:
mode:
Diffstat (limited to 'code/cogs')
-rw-r--r--code/cogs/autoplay.py4
-rw-r--r--code/cogs/help.py3
-rw-r--r--code/cogs/music.py2
3 files changed, 4 insertions, 5 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:",
diff --git a/code/cogs/help.py b/code/cogs/help.py
index 2475564..fe41d17 100644
--- a/code/cogs/help.py
+++ b/code/cogs/help.py
@@ -56,7 +56,8 @@ commands_and_descriptions = {
},
"autoplay": {
"description": (
- "Keep the music playing forever with music suggestions from OpenAI"
+ "Keep the music playing forever with automatic song"
+ " recommendations"
),
"arguments": {
"on": "Turn autoplay feature on",
diff --git a/code/cogs/music.py b/code/cogs/music.py
index 4814076..fca929c 100644
--- a/code/cogs/music.py
+++ b/code/cogs/music.py
@@ -245,7 +245,7 @@ class Music(commands.Cog):
for song in event.player.queue[:10]:
inputs[song.title] = song.author
await add_song_recommendations(
- self.bot.openai, self.bot.user, event.player, 5, inputs
+ self.bot.user, event.player, 5, inputs
)
@lavalink.listener(lavalink.events.NodeConnectedEvent)