aboutsummaryrefslogtreecommitdiffstats
path: root/cogs/music/stop.py
diff options
context:
space:
mode:
authorSamlon <stankiewiczgracjan2019@gmail.com>2025-08-11 15:28:20 +0200
committerSamlon <stankiewiczgracjan2019@gmail.com>2025-08-11 15:28:20 +0200
commit4b9bd0278267b34fc65a9ed0d0f1b8a1a29c0c8a (patch)
tree0000a9333411bd9054f959d0e7efa2398a7e71db /cogs/music/stop.py
parentplay.py fix (diff)
downloadsenator-sperma-4b9bd0278267b34fc65a9ed0d0f1b8a1a29c0c8a.tar.gz
senator-sperma-4b9bd0278267b34fc65a9ed0d0f1b8a1a29c0c8a.zip
fixing not working skip
Diffstat (limited to 'cogs/music/stop.py')
-rw-r--r--cogs/music/stop.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/cogs/music/stop.py b/cogs/music/stop.py
new file mode 100644
index 0000000..e842b08
--- /dev/null
+++ b/cogs/music/stop.py
@@ -0,0 +1,14 @@
1from discord.ext import commands
2
3
4class Stop(commands.Cog):
5 def __init__(self, bot):
6 self.bot = bot
7
8 @commands.slash_command(name="stop", description="stopuj bota")
9 async def stop(self, ctx):
10 await ctx.voice_client.disconnect()
11
12
13def setup(bot):
14 bot.add_cog(Stop(bot))