From 36cc18552a1d2de19b87dc739c64e14af5f4b9c4 Mon Sep 17 00:00:00 2001 From: Nemesis Date: Wed, 8 Aug 2018 12:59:36 +0200 Subject: [PATCH] showquote purge --- asmodee.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/asmodee.py b/asmodee.py index f4dddd6..4141be2 100755 --- a/asmodee.py +++ b/asmodee.py @@ -1156,11 +1156,12 @@ def quote(room,event): # Gestion des citations args = event['content']['body'].split() args.pop(0) famous = {} + quotes[room.room_id] = famous try: famous = quotes[room.room_id] except: famous = {} - + if (len(args) > 3 and args[0] == "add"): #ajoute une quote args.pop(0)