generated from Nemesis/Exemple
debug quote
This commit is contained in:
parent
55b98f28fd
commit
7f0de3bb50
1 changed files with 2 additions and 1 deletions
|
@ -998,12 +998,13 @@ def quote(room,event):
|
|||
elif (len(args) > 1 and args[0] == "del"):
|
||||
id = args[1]
|
||||
salon = verifPMRoom(room,event)
|
||||
reponse = "Voici les citations supprimées : \n"
|
||||
reponse = "Voici la citation supprimée : \n"
|
||||
for rid,fame in quotes.items():
|
||||
for cle,valeur in fame.items():
|
||||
if (str(cle[1]) == id):
|
||||
del fame[cle[0],cle[1]]
|
||||
reponse = reponse + rid + "/" + cle[0] + " / " + str(cle[1]) + " : " + valeur + "\n"
|
||||
break
|
||||
salon.send_text(reponse)
|
||||
elif (len(args) > 0):
|
||||
# cite une quote d'une personne precise
|
||||
|
|
Loading…
Reference in a new issue