diff --git a/bot.py b/bot.py index 6de3f07..c2c765b 100644 --- a/bot.py +++ b/bot.py @@ -284,6 +284,8 @@ class Bot(commands.Bot): with open('./profiles.ini', 'w+') as config_file: config.write(config_file) + self.profile_name = profile_name + if self.sdr_started: self.start_sdr() await self.set_activity()