generated from Nemesis/Exemple
quote del admin
This commit is contained in:
parent
8cb9eac6a7
commit
412aec811f
1 changed files with 5 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue