]> gitweb.pimeys.fr Git - bots/salesman.git/commitdiff
On ne trigger plus sur ville/capitale/pays master
authorVincent Le Gallic <legallic@enst.fr>
Thu, 3 Aug 2017 15:27:18 +0000 (17:27 +0200)
committerVincent Le Gallic <legallic@enst.fr>
Thu, 3 Aug 2017 15:27:34 +0000 (17:27 +0200)
Ça en perturbait certains…

salesman.py

index 12394a5f036ea964a22524b359de024c7c559d64..dd0e82c1be01276392bd5b130412971c0f5d2aaa 100755 (executable)
@@ -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: