From 608354472ec0fdb20d10bc631e35c9c6593aa288 Mon Sep 17 00:00:00 2001 From: Snow <135516526+BabyBoySnow@users.noreply.github.com> Date: Fri, 15 Dec 2023 17:10:06 -0600 Subject: [PATCH] forgot black --- musicbot/bot.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/musicbot/bot.py b/musicbot/bot.py index a3b87c794..85e84a7e4 100644 --- a/musicbot/bot.py +++ b/musicbot/bot.py @@ -344,7 +344,9 @@ def _autopause(player): ) continue - if channel and isinstance(channel, (discord.VoiceChannel, discord.StageChannel)): + if channel and isinstance( + channel, (discord.VoiceChannel, discord.StageChannel) + ): log.info("Attempting to join {0.guild.name}/{0.name}".format(channel)) chperms = channel.permissions_for(guild.me) @@ -505,9 +507,7 @@ async def get_voice_client(self, channel: discord.abc.GuildChannel): if isinstance(channel, discord.Object): channel = self.get_channel(channel.id) - if not isinstance( - channel, (discord.VoiceChannel, discord.StageChannel) - ): + if not isinstance(channel, (discord.VoiceChannel, discord.StageChannel)): raise AttributeError("Channel passed must be a voice channel") if channel.guild.voice_client: