aboutsummaryrefslogtreecommitdiffstats
path: root/cogs/music/stop.py
diff options
context:
space:
mode:
authorSamlon <stankiewiczgracjan2019@gmail.com>2025-08-13 12:43:43 +0200
committerSamlon <stankiewiczgracjan2019@gmail.com>2025-08-13 12:43:43 +0200
commit9884419d5d18581f5a8b0233ae1606515bf87571 (patch)
tree6e091cec670c3b6dbf7c0ca33d923e40fb4ae6d7 /cogs/music/stop.py
parentfurther improvements to tts (diff)
downloadsenator-sperma-9884419d5d18581f5a8b0233ae1606515bf87571.tar.gz
senator-sperma-9884419d5d18581f5a8b0233ae1606515bf87571.zip
prevent discord from complaining
Diffstat (limited to 'cogs/music/stop.py')
-rw-r--r--cogs/music/stop.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/cogs/music/stop.py b/cogs/music/stop.py
index c7abfbd..5713c81 100644
--- a/cogs/music/stop.py
+++ b/cogs/music/stop.py
@@ -11,6 +11,8 @@ class Stop(commands.Cog):
11 11
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)
15 await ctx.interaction.delete_original_message()
14 await ctx.voice_client.disconnect() 16 await ctx.voice_client.disconnect()
15 logger.info("Bot disconnected from voice channel") 17 logger.info("Bot disconnected from voice channel")
16 18