generated from Nemesis/Exemple
showquote purge
This commit is contained in:
parent
55fe181e2b
commit
36cc18552a
1 changed files with 2 additions and 1 deletions
|
@ -1156,11 +1156,12 @@ def quote(room,event): # Gestion des citations
|
||||||
args = event['content']['body'].split()
|
args = event['content']['body'].split()
|
||||||
args.pop(0)
|
args.pop(0)
|
||||||
famous = {}
|
famous = {}
|
||||||
|
quotes[room.room_id] = famous
|
||||||
try:
|
try:
|
||||||
famous = quotes[room.room_id]
|
famous = quotes[room.room_id]
|
||||||
except:
|
except:
|
||||||
famous = {}
|
famous = {}
|
||||||
|
|
||||||
if (len(args) > 3 and args[0] == "add"):
|
if (len(args) > 3 and args[0] == "add"):
|
||||||
#ajoute une quote
|
#ajoute une quote
|
||||||
args.pop(0)
|
args.pop(0)
|
||||||
|
|
Loading…
Reference in a new issue