New logging system #10
1
bot.py
1
bot.py
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user