From 740615a315a63d569091c4f2ce916dbbeb762872 Mon Sep 17 00:00:00 2001 From: Nyo Date: Sat, 28 May 2016 20:30:34 +0200 Subject: [PATCH] .BANCHO. .FIX. Randomize !mm00 seed --- constants/fokabotCommands.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/constants/fokabotCommands.py b/constants/fokabotCommands.py index d172c9b..5199c51 100644 --- a/constants/fokabotCommands.py +++ b/constants/fokabotCommands.py @@ -490,6 +490,10 @@ def tillerinoLast(fro, chan, message): print(a) return False +def mm00(fro, chan, message): + random.seed() + return random.choice(["meme", "MA MAURO ESISTE?"]) + """ Commands list @@ -531,7 +535,7 @@ commands = [ "callback": ask }, { "trigger": "!mm00", - "response": random.choice(["meme", "MA MAURO ESISTE?"]) + "callback": mm00 }, { "trigger": "!alert", "syntax": "",