From: Vincent Le Gallic Date: Thu, 3 Aug 2017 15:27:18 +0000 (+0200) Subject: On ne trigger plus sur ville/capitale/pays X-Git-Url: http://gitweb.pimeys.fr/?a=commitdiff_plain;h=c7a09731add7cc1ee7840144b8475bb58c5dbc32;p=bots%2Fsalesman.git On ne trigger plus sur ville/capitale/pays Ça en perturbait certains… --- diff --git a/salesman.py b/salesman.py index 12394a5..dd0e82c 100755 --- a/salesman.py +++ b/salesman.py @@ -495,7 +495,7 @@ class Salesman(ircbot.SingleServerIRCBot): serv.privmsg(canal,"%s: coucou"%(auteur)) elif cmd in ["ping"] and not canal in self.quiet_channels: serv.privmsg(canal,"%s: pong"%(auteur)) - elif cmd in ["ville","capitale","pays","énigme","enigme","encore"]: + elif cmd in ["énigme","enigme","encore"]: if canal in self.play_channels: if self.play_status.get(canal,[-1])[0]==0: try: