fix(nowlist): Added reload after migration.

This commit is contained in:
2024-10-07 11:57:40 +10:00
parent 3c0d527501
commit 9b3b7265d3

View File

@@ -140,6 +140,7 @@ class NowDoingCog(LionCog):
await self.channel.send_del(source_profile.profileid)
else:
results.append("No running task in source profile, nothing to migrate!")
await self.load_tasks()
return ' '.join(results)
@@ -150,7 +151,7 @@ class NowDoingCog(LionCog):
await self.load_tasks()
for userid, task in self.tasks.items():
userid = int(userid)
if userid > 100:
if userid > 1000:
# Assume it is a twitch userid
profile = await UserProfile.fetch_from_twitchid(self.bot, userid)