From: Vincent Le Gallic Date: Tue, 7 Nov 2017 14:43:15 +0000 (+0100) Subject: Il faut maintenant s'adresser au bot pour répondre X-Git-Url: http://gitweb.pimeys.fr/?p=bots%2Fdeconnaisseur.git;a=commitdiff_plain;h=6daed7175e361c1d1518727f4397e50207a0ceee Il faut maintenant s'adresser au bot pour répondre --- diff --git a/deconnaisseur.py b/deconnaisseur.py index 9c3c21f..d0ff4dd 100755 --- a/deconnaisseur.py +++ b/deconnaisseur.py @@ -548,7 +548,7 @@ class Deconnaisseur(ircbot.SingleServerIRCBot): tryother=True else: tryother=True - if tryother: + if tryother and pour_moi: if self.play_status.get(canal,[-1])[0] in [1,2]: answer_regexp=self.play_status[canal][3] answer=self.play_status[canal][4]