Never updated the global sensitivity, so the profile would be updated with this value

This commit is contained in:
Logan Cusano
2022-03-30 01:35:43 -04:00
parent cbeb90a0f4
commit d650ae4350

1
bot.py
View File

@@ -172,6 +172,7 @@ class Bot(commands.Bot):
await ctx.send(f"Ok {str(member).capitalize()}, I'm changing the threshold from "
f"{self.streamHandler.THRESHOLD} to {_threshold}")
self.streamHandler.THRESHOLD = _threshold
self.noisegate_sensitivity = _threshold
if self.sdr_started:
await self.set_activity()