From 2a5822ffc0e46cff51eb47c9e20f66d06ff45db0 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 18 Oct 2023 15:43:43 +0000 Subject: [PATCH] style(pre-commit): auto fixes from pre-commit.com hooks --- discord/voice_client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/discord/voice_client.py b/discord/voice_client.py index b6d161f7fd..92d3390486 100644 --- a/discord/voice_client.py +++ b/discord/voice_client.py @@ -740,7 +740,7 @@ def is_speaking(self) -> bool: """ if not self.is_connected(): raise RecordingException("Not connected to voice channel.") - + self.empty_socket() ready, _, err = select.select([self.socket], [], [self.socket], 0.01) @@ -763,7 +763,7 @@ def is_speaking(self) -> bool: if data.decrypted_data == b"\xf8\xff\xfe": # Frame of silence return False - + return True def start_recording(self, sink, callback, *args, sync_start: bool = False):