From d98e5a0e717885a3c3cda3b93602b3250be0758d Mon Sep 17 00:00:00 2001 From: Loris TICHADOU <loris.tichadou@ensiie.fr> Date: Tue, 9 Jun 2020 11:26:46 +0200 Subject: [PATCH] Update nardco.py --- nardco.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nardco.py b/nardco.py index b56b229..3899178 100755 --- a/nardco.py +++ b/nardco.py @@ -188,13 +188,13 @@ class Boooob(ircbot.SingleServerIRCBot): # fonctions de deplacement dans les chann - if "Titch" in personne and "goto" in message and config.nick in message: + if "Saltitch" in personne and "goto" in message and config.nick in message: f = 0 for f in range(len(message) - 4): if message[f:f + 4] == "goto": serv.join("#" + message[f + 5:]) break - if "Titch" in personne and "leave" in message and config.nick in message: + if "Saltitch" in personne and "leave" in message and config.nick in message: serv.part(canal) if reponse is not None: -- GitLab