diff options
| author | SamlonDev <stankiewiczgracjan2019@gmail.com> | 2025-06-14 18:54:02 +0200 |
|---|---|---|
| committer | SamlonDev <stankiewiczgracjan2019@gmail.com> | 2025-06-14 18:54:02 +0200 |
| commit | 791e75cb2beeca45a6edf52b65f7e299e03b5eaf (patch) | |
| tree | cfee93211b7f8ac1c985325aaf8d9399b7a357ca /cogs/music/join.py | |
| parent | temp downloads the files instead (diff) | |
| download | senator-sperma-791e75cb2beeca45a6edf52b65f7e299e03b5eaf.tar.gz senator-sperma-791e75cb2beeca45a6edf52b65f7e299e03b5eaf.zip | |
code-style issues
Diffstat (limited to '')
| -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)) |
