From d4248bca50064d4435db713cf2c81a007d394c63 Mon Sep 17 00:00:00 2001 From: Samlon Date: Thu, 21 Aug 2025 12:22:00 +0200 Subject: small changes --- cogs/music/join.py | 2 +- cogs/music/stop.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'cogs/music') 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): channel = ctx.author.voice.channel await channel.connect() await ctx.respond(content="\u200b", ephemeral=True) - await ctx.interaction.delete_original_message() + await ctx.interaction.delete_original_response() logger.info("Bot connected to voice channel") 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): @commands.slash_command(name="stop", description="stopuj bota") async def stop(self, ctx): await ctx.respond(content="\u200b", ephemeral=True) - await ctx.interaction.delete_original_message() + await ctx.interaction.delete_original_response() await ctx.voice_client.disconnect() logger.info("Bot disconnected from voice channel") -- cgit v1.2.3