Bugfix: Profile update
This commit is contained in:
4
bot.py
4
bot.py
@@ -127,6 +127,10 @@ class Bot(commands.Bot):
|
||||
self.mode = mode
|
||||
await ctx.send(f"Ok {str(member).capitalize()}, I'm changing the mode to {str(self.mode).upper()} and frequency to"
|
||||
f" {self.freq}")
|
||||
|
||||
# Reset the profile name since we have made a change to the freq
|
||||
self.profile_name = None
|
||||
|
||||
# If the SDR is started, restart it with the updates
|
||||
if self.sdr_started:
|
||||
self.start_sdr()
|
||||
|
||||
Reference in New Issue
Block a user