From 3d73da72d68ae0c058f2e721b26596f1d2696928 Mon Sep 17 00:00:00 2001 From: Logan Cusano Date: Sun, 10 Apr 2022 00:03:28 -0400 Subject: [PATCH] //WIP Sounddevice migration Bot bug - Incorrect kwarg name --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index b4e1575..1c77a9e 100644 --- a/bot.py +++ b/bot.py @@ -104,7 +104,7 @@ class Bot(commands.Bot): # Create an audio stream from selected device self.logger.debug("Starting noisegate/stream handler") - self.streamHandler = NoiseGatev2.NoiseGate(_input_device_index=self.DEVICE_ID, + self.streamHandler = NoiseGatev2.NoiseGate(_device_index=self.DEVICE_ID, _voice_connection=voice_connection, _noise_gate_threshold=self.noisegate_sensitivity) # Start the audio stream