add missing await to coroutine
All checks were successful
Build and Push Docker Image / build (push) Successful in 12s

This commit is contained in:
Corban-Lee Jones 2024-12-06 17:02:32 +00:00
parent c302b54eae
commit 8bfcf7eca4

View File

@ -36,7 +36,7 @@ class ActivityCog(commands.Cog):
return
players_count = int(re_match.group(1))
self.bot.change_presence(activity=Game(name=f"with {players_count} survivor{'s' if players_count != 1 else ''}!"))
await 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)