From: Hung IRC Bot Date: Mon, 14 May 2012 13:20:37 +0000 (+0200) Subject: J'en avais marre de trigger Basile X-Git-Url: http://gitweb.pimeys.fr/?a=commitdiff_plain;h=038e9b233bccab82169438e7faf440690dfc3dba;p=bots%2Fhung.git J'en avais marre de trigger Basile --- diff --git a/hung.py b/hung.py index 574af68..f1214cb 100755 --- a/hung.py +++ b/hung.py @@ -319,7 +319,7 @@ class Hung(ircbot.SingleServerIRCBot): listeapres=[(lettre[0],lettre[1] or lettre[0]==giv_let) for lettre in liste] if liste!=listeapres: self.play_status[canal]=listeapres - self.affiche_mot(serv, canal, begin="%s trouvé"%(giv_let)) + self.affiche_mot(serv, canal, begin="%s placé"%(giv_let)) if all([lettre[1] for lettre in listeapres]): serv.privmsg(canal,"Bravo ! C'était %s"%("".join([lettre[0] for lettre in listeapres]))) self.play_status[canal]=[None]