From 4b9bd0278267b34fc65a9ed0d0f1b8a1a29c0c8a Mon Sep 17 00:00:00 2001 From: Samlon Date: Mon, 11 Aug 2025 15:28:20 +0200 Subject: fixing not working skip --- cogs/music/stop.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 cogs/music/stop.py (limited to 'cogs/music/stop.py') 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 @@ +from discord.ext import commands + + +class Stop(commands.Cog): + def __init__(self, bot): + self.bot = bot + + @commands.slash_command(name="stop", description="stopuj bota") + async def stop(self, ctx): + await ctx.voice_client.disconnect() + + +def setup(bot): + bot.add_cog(Stop(bot)) -- cgit v1.2.3