From c302b54eae76fc34e150e6b8fb3faf256817011b Mon Sep 17 00:00:00 2001 From: Corban-Lee Jones Date: Fri, 6 Dec 2024 16:57:46 +0000 Subject: [PATCH] improve the way activity is changed should fix issues with not updating correctly --- cogs/activity.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/activity.py b/cogs/activity.py index 96df617..d2dabbb 100644 --- a/cogs/activity.py +++ b/cogs/activity.py @@ -36,7 +36,7 @@ class ActivityCog(commands.Cog): return players_count = int(re_match.group(1)) - self.bot.activity = Game(name=f"with {players_count} survivor{'s' if players_count != 1 else ''}!") + self.bot.change_presence(activity=Game(name=f"with {players_count} survivor{'s' if players_count != 1 else ''}!")) log.debug("player count in activity updated to: %s", players_count)