From 8847da02712c4e2f56c1ab75a3da4d450513a202 Mon Sep 17 00:00:00 2001 From: Hung IRC Bot Date: Mon, 10 Jun 2013 17:35:56 +0200 Subject: [PATCH] pas de si au singulier --- hung.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hung.py b/hung.py index c022105..7b84818 100755 --- a/hung.py +++ b/hung.py @@ -433,7 +433,7 @@ class Hung(ircbot.SingleServerIRCBot): # On perd une chance self.lives[canal] -= 1 if self.lives[canal] > 0: - serv.privmsg(canal, "Pas de %s. Plus que %s chances…" % (giv_let, self.lives[canal])) + serv.privmsg(canal, "Pas de %s. Plus que %s chance%s…" % (giv_let, self.lives[canal], "s" * (self.lives[canal] > 1))) if self.lives[canal] == 0: serv.privmsg(canal, "Pas de %s." % (giv_let)) self.perd(serv, canal) -- 2.39.2