From 48c5d441d5385ade095ec1475e0f3aad7c7363ef Mon Sep 17 00:00:00 2001 From: PredaaA <46051820+PredaaA@users.noreply.github.com> Date: Thu, 17 Feb 2022 00:17:42 +0100 Subject: [PATCH] Reformat. --- lavalink/lavalink.py | 1 - tests/test_player_manager.py | 4 +--- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/lavalink/lavalink.py b/lavalink/lavalink.py index 4f461666..e683fffb 100644 --- a/lavalink/lavalink.py +++ b/lavalink/lavalink.py @@ -90,7 +90,6 @@ async def initialize( return lavalink_node - async def connect(channel: discord.VoiceChannel, deafen: bool = False): """ Connects to a discord voice channel. diff --git a/tests/test_player_manager.py b/tests/test_player_manager.py index 631fea88..693ba4f2 100644 --- a/tests/test_player_manager.py +++ b/tests/test_player_manager.py @@ -43,9 +43,7 @@ def func(user_id=bot.user.id, channel_id=voice_channel.id, guild_id=voice_channe @pytest.mark.asyncio async def test_autoconnect(bot, voice_channel, voice_server_update, voice_state_update): node = lavalink.node.get_node(voice_channel.guild.id) - node._players_dict[voice_channel.guild.id] = lavalink.player_manager.Player( - bot, voice_channel - ) + node._players_dict[voice_channel.guild.id] = lavalink.player_manager.Player(bot, voice_channel) player = node.get_player(voice_channel.guild.id) assert voice_channel.guild.id in set(node.guild_ids)