|
|
@ -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 |
|
|
|