From b2932e1338b5e5c2d5480b981e9a52e8c3480765 Mon Sep 17 00:00:00 2001
From: Yani ZIANI <yani.ziani@ensiie.fr>
Date: Thu, 3 Mar 2022 19:10:48 +0100
Subject: [PATCH] Gdoc alignements

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

diff --git a/nardco.py b/nardco.py
index 52c19fc..992e2e6 100755
--- a/nardco.py
+++ b/nardco.py
@@ -301,7 +301,7 @@ class Boooob(ircbot.SingleServerIRCBot):
 
             cmds = [
                 'help', 'bdsm', 'haddock', 'useless', 'quizz', 'ecole', 'ffs', 'thanos', 'chuck', 'roll', 'rateau', 'viieux',               
-                'kohlanta', 'new', 'del', 'get', 'debat', 'pipo', 'np', 'commit', 'zertyu', 'getsub', 'reddit', "gratuit", "pacho"
+                'kohlanta', 'new', 'del', 'get', 'debat', 'pipo', 'np', 'commit', 'zertyu', 'getsub', 'reddit', "gratuit", "pacho", "alignements"
                 ]
 
             most_likely = (cmd, 0)
@@ -348,6 +348,10 @@ class Boooob(ircbot.SingleServerIRCBot):
                     sent_message = "Et dire que ca faisait seulement " + convert_seconds_to_days(int(difference)) + " que Pacho n'avait pas fait d'allusions"
                 serv.privmsg(canal, sent_message)
                 
+            elif cmd == "alignements" : 
+                sent_message = "GDoc des alignements disponible ici : https://ar1.se/aligne (waouh un ar1.se)"
+                serv.privmsg(canal, sent_message)
+                
 
             elif cmd == "haddock":
                 serv.privmsg(canal, haddock())
-- 
GitLab