BUGFIX bot

Fixed bug where activity didn't update when saving a profile
This commit is contained in:
Logan Cusano
2022-02-02 05:00:15 -05:00
parent b46defa94a
commit 82fd2d3f76

2
bot.py
View File

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