From e08c3239e76400d8d306b5b38022a2227bc02f6c Mon Sep 17 00:00:00 2001 From: Logan Cusano Date: Wed, 29 Dec 2021 00:54:57 -0500 Subject: [PATCH] Bugfix: Profile update --- bot.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bot.py b/bot.py index f10ea16..3b76b7b 100644 --- a/bot.py +++ b/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()