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"
|
reponse = reponse + rid + " / " + cle[0] + " / " + str(cle[1]) + " : " + valeur + "\n"
|
||||||
break
|
break
|
||||||
salon.send_text(reponse)
|
salon.send_text(reponse)
|
||||||
|
else:
|
||||||
|
salon.send_text("Vous n'êtes pas autorisés à supprimer des citations.")
|
||||||
elif (len(args) > 0):
|
elif (len(args) > 0):
|
||||||
# cite une quote d'une personne precise
|
# cite une quote d'une personne precise
|
||||||
nick = " ".join(args)
|
nick = " ".join(args)
|
||||||
|
@ -1056,9 +1058,9 @@ def main():
|
||||||
else:
|
else:
|
||||||
print("Probleme de lecture de configuration asmodee.ini")
|
print("Probleme de lecture de configuration asmodee.ini")
|
||||||
|
|
||||||
print("admins")
|
#print("admins")
|
||||||
for admin in admins:
|
#for admin in admins:
|
||||||
print(admin)
|
# print(admin)
|
||||||
|
|
||||||
# Create an instance of the MatrixBotAPI
|
# Create an instance of the MatrixBotAPI
|
||||||
global bot
|
global bot
|
||||||
|
|
Loading…
Reference in a new issue