fix wrong calculation for activity message again
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
c09acbe9e3
commit
7a18ebc22d
@ -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.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)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user