From 412aec811f470c3c2d8e349f3c9aa2d1e2a7f3c6 Mon Sep 17 00:00:00 2001 From: nemesis Date: Sun, 22 Jul 2018 23:26:48 +0200 Subject: [PATCH] quote del admin --- asmodee.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/asmodee.py b/asmodee.py index 0a3439b..49f106d 100755 --- a/asmodee.py +++ b/asmodee.py @@ -1008,6 +1008,8 @@ def quote(room,event): reponse = reponse + rid + " / " + cle[0] + " / " + str(cle[1]) + " : " + valeur + "\n" break salon.send_text(reponse) + else: + salon.send_text("Vous n'êtes pas autorisés à supprimer des citations.") elif (len(args) > 0): # cite une quote d'une personne precise nick = " ".join(args) @@ -1056,9 +1058,9 @@ def main(): else: print("Probleme de lecture de configuration asmodee.ini") - print("admins") - for admin in admins: - print(admin) + #print("admins") + #for admin in admins: + # print(admin) # Create an instance of the MatrixBotAPI global bot