diff options
Diffstat (limited to '')
| -rw-r--r-- | cogs/music/leave.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cogs/music/leave.py b/cogs/music/leave.py index 0be2068..7be3b60 100644 --- a/cogs/music/leave.py +++ b/cogs/music/leave.py | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | import discord | ||
| 2 | from discord.ext import commands | 1 | from discord.ext import commands |
| 3 | 2 | ||
| 3 | |||
| 4 | class Leave(commands.Cog): | 4 | class Leave(commands.Cog): |
| 5 | def __init__(self, bot): | 5 | def __init__(self, bot): |
| 6 | self.bot = bot | 6 | self.bot = bot |
| @@ -9,5 +9,6 @@ class Leave(commands.Cog): | |||
| 9 | async def kick(self, ctx): | 9 | async def kick(self, ctx): |
| 10 | await ctx.voice_client.disconnect() | 10 | await ctx.voice_client.disconnect() |
| 11 | 11 | ||
| 12 | |||
| 12 | def setup(bot): | 13 | def setup(bot): |
| 13 | bot.add_cog(Leave(bot)) \ No newline at end of file | 14 | bot.add_cog(Leave(bot)) |
