fix wrong number in count calculation
All checks were successful
Build and Push Docker Image / build (push) Successful in 11s
All checks were successful
Build and Push Docker Image / build (push) Successful in 11s
This commit is contained in:
parent
82fcedd5a4
commit
82d2eb6ed2
@ -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 > 0 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