diff options
| author | Samlon <stankiewiczgracjan2019@gmail.com> | 2025-08-11 18:08:59 +0200 |
|---|---|---|
| committer | Samlon <stankiewiczgracjan2019@gmail.com> | 2025-08-11 18:08:59 +0200 |
| commit | 936ffa8b06f339de37f6246e45858bbd215cd204 (patch) | |
| tree | 1abae237d91f7755e3d53b06fbf9e07bd6890158 /cogs/music/join.py | |
| parent | more logs!?!?! (diff) | |
| download | senator-sperma-936ffa8b06f339de37f6246e45858bbd215cd204.tar.gz senator-sperma-936ffa8b06f339de37f6246e45858bbd215cd204.zip | |
more logs!?!?! and fixes
Diffstat (limited to '')
| -rw-r--r-- | cogs/music/join.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cogs/music/join.py b/cogs/music/join.py index c626897..9837fdb 100644 --- a/cogs/music/join.py +++ b/cogs/music/join.py | |||
| @@ -11,7 +11,8 @@ class Join(commands.Cog): | |||
| 11 | 11 | ||
| 12 | @commands.slash_command(name="join", description="dołącza do kanalu") | 12 | @commands.slash_command(name="join", description="dołącza do kanalu") |
| 13 | async def join(self, ctx): | 13 | async def join(self, ctx): |
| 14 | await ctx.voice_client.connect() | 14 | channel = ctx.author.voice.channel |
| 15 | await channel.connect() | ||
| 15 | logger.info("Bot connected to voice channel") | 16 | logger.info("Bot connected to voice channel") |
| 16 | 17 | ||
| 17 | 18 | ||
