Bugfix: Profile update

This commit is contained in:
Logan Cusano
2021-12-29 00:54:57 -05:00
parent 66c822d352
commit e08c3239e7

4
bot.py
View File

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