diff --git a/bot.py b/bot.py index a6f2fa1..5440f72 100644 --- a/bot.py +++ b/bot.py @@ -355,6 +355,7 @@ class Bot(commands.Bot): self.squelch = int(config[str(profile_name)]['Squelch']) self.sample_rate = config[str(profile_name)]['Sample Rate'] self.play_sample_rate = config[str(profile_name)]['Player Sample Rate'] + self.profile_name = profile_name if self.sdr_started: self.start_sdr()