fix wrong number in count calculation
All checks were successful
Build and Push Docker Image / build (push) Successful in 11s

This commit is contained in:
Corban-Lee Jones 2024-12-06 11:49:21 +00:00
parent 82fcedd5a4
commit 82d2eb6ed2

View File

@ -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)