From 82fd2d3f76f61fce9bd9798dea8d72988048861a Mon Sep 17 00:00:00 2001 From: Logan Cusano Date: Wed, 2 Feb 2022 05:00:15 -0500 Subject: [PATCH] BUGFIX bot Fixed bug where activity didn't update when saving a profile --- bot.py | 2 ++ 1 file changed, 2 insertions(+) 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()