aboutsummaryrefslogtreecommitdiffstats
path: root/cogs/music
diff options
context:
space:
mode:
Diffstat (limited to 'cogs/music')
-rw-r--r--cogs/music/join.py2
-rw-r--r--cogs/music/stop.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/cogs/music/join.py b/cogs/music/join.py
index 47c746f..a68282c 100644
--- a/cogs/music/join.py
+++ b/cogs/music/join.py
@@ -14,7 +14,7 @@ class Join(commands.Cog):
14 channel = ctx.author.voice.channel 14 channel = ctx.author.voice.channel
15 await channel.connect() 15 await channel.connect()
16 await ctx.respond(content="\u200b", ephemeral=True) 16 await ctx.respond(content="\u200b", ephemeral=True)
17 await ctx.interaction.delete_original_message() 17 await ctx.interaction.delete_original_response()
18 logger.info("Bot connected to voice channel") 18 logger.info("Bot connected to voice channel")
19 19
20 20
diff --git a/cogs/music/stop.py b/cogs/music/stop.py
index 5713c81..e04370e 100644
--- a/cogs/music/stop.py
+++ b/cogs/music/stop.py
@@ -12,7 +12,7 @@ class Stop(commands.Cog):
12 @commands.slash_command(name="stop", description="stopuj bota") 12 @commands.slash_command(name="stop", description="stopuj bota")
13 async def stop(self, ctx): 13 async def stop(self, ctx):
14 await ctx.respond(content="\u200b", ephemeral=True) 14 await ctx.respond(content="\u200b", ephemeral=True)
15 await ctx.interaction.delete_original_message() 15 await ctx.interaction.delete_original_response()
16 await ctx.voice_client.disconnect() 16 await ctx.voice_client.disconnect()
17 logger.info("Bot disconnected from voice channel") 17 logger.info("Bot disconnected from voice channel")
18 18