//WIP Sounddevice migration

Bot bug - Incorrect kwarg name
This commit is contained in:
Logan Cusano
2022-04-10 00:03:28 -04:00
parent 663735210c
commit 3d73da72d6

2
bot.py
View File

@@ -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