//WIP Sounddevice migration
Bot bug - Incorrect kwarg name
This commit is contained in:
2
bot.py
2
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
|
||||
|
||||
Reference in New Issue
Block a user