add missing await to coroutine
All checks were successful
Build and Push Docker Image / build (push) Successful in 12s
All checks were successful
Build and Push Docker Image / build (push) Successful in 12s
This commit is contained in:
parent
c302b54eae
commit
8bfcf7eca4
@ -36,7 +36,7 @@ class ActivityCog(commands.Cog):
|
|||||||
return
|
return
|
||||||
|
|
||||||
players_count = int(re_match.group(1))
|
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)
|
log.debug("player count in activity updated to: %s", players_count)
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user