From c7a09731add7cc1ee7840144b8475bb58c5dbc32 Mon Sep 17 00:00:00 2001 From: Vincent Le Gallic Date: Thu, 3 Aug 2017 17:27:18 +0200 Subject: [PATCH] On ne trigger plus sur ville/capitale/pays MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Ça en perturbait certains… --- salesman.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.39.2