diff options
Diffstat (limited to 'cogs/music/leave.py')
| -rw-r--r-- | cogs/music/leave.py | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/cogs/music/leave.py b/cogs/music/leave.py deleted file mode 100644 index 7be3b60..0000000 --- a/cogs/music/leave.py +++ /dev/null | |||
| @@ -1,14 +0,0 @@ | |||
| 1 | from discord.ext import commands | ||
| 2 | |||
| 3 | |||
| 4 | class Leave(commands.Cog): | ||
| 5 | def __init__(self, bot): | ||
| 6 | self.bot = bot | ||
| 7 | |||
| 8 | @commands.slash_command(name="kick", description="kickuje bota z kanalu") | ||
| 9 | async def kick(self, ctx): | ||
| 10 | await ctx.voice_client.disconnect() | ||
| 11 | |||
| 12 | |||
| 13 | def setup(bot): | ||
| 14 | bot.add_cog(Leave(bot)) | ||
