diff options
Diffstat (limited to 'cogs/music/join.py')
| -rw-r--r-- | cogs/music/join.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cogs/music/join.py b/cogs/music/join.py index 91a0b18..a613e81 100644 --- a/cogs/music/join.py +++ b/cogs/music/join.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 Join(commands.Cog): | 4 | class Join(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 Join(commands.Cog): | |||
| 9 | async def join(self, ctx): | 9 | async def join(self, ctx): |
| 10 | await ctx.voice_client.connect() | 10 | await ctx.voice_client.connect() |
| 11 | 11 | ||
| 12 | |||
| 12 | def setup(bot): | 13 | def setup(bot): |
| 13 | bot.add_cog(Join(bot)) \ No newline at end of file | 14 | bot.add_cog(Join(bot)) |
