From f66075a4cacfe5285b163c178497b02d881470c7 Mon Sep 17 00:00:00 2001 From: Daniel McKnight Date: Mon, 29 Jan 2024 19:08:43 -0800 Subject: [PATCH] Fix logical error in watchdog checks --- neon_nodes/voice_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neon_nodes/voice_client.py b/neon_nodes/voice_client.py index 8297517..017944a 100644 --- a/neon_nodes/voice_client.py +++ b/neon_nodes/voice_client.py @@ -173,7 +173,7 @@ def watchdog(self): if not self._voice_thread.is_alive(): self.error_hook("11") raise RuntimeError("Voice Thread not alive") - if self._voice_loop._is_running: + if not self._voice_loop._is_running: self.error_hook("12") raise RuntimeError("Voice Loop not running") except KeyboardInterrupt: