From 915ec2b0d196ffb936ff46538a5d9b603dda5fe6 Mon Sep 17 00:00:00 2001
From: Loris TICHADOU <loris.tichadou@ensiie.fr>
Date: Mon, 16 Aug 2021 08:14:59 +0000
Subject: [PATCH] Update nardco.py

---
 nardco.py | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/nardco.py b/nardco.py
index 47c7254..080f096 100755
--- a/nardco.py
+++ b/nardco.py
@@ -268,6 +268,11 @@ class Boooob(ircbot.SingleServerIRCBot):
             if not is_l_heure_de_manger() and should_ban(message):
                 serv.privmsg(canal, "PUTAIN ON A DIT NON")
 
+            if "je suis" in message : 
+                splt = message.split("je suis")
+                if len(splt) > 1 :
+                    res = "Enchanté" + splt[1] + ", je suis nardco" 
+
            # if "di" in message :
             #    splt = message.split('di')
              #   messages = []
-- 
GitLab