From 36b4a615dfbf8758a8bbff7ca74653cba3b8092b Mon Sep 17 00:00:00 2001 From: avail Date: Sat, 30 Jul 2016 15:21:53 +0200 Subject: [PATCH] disable !ask --- constants/fokabotCommands.py | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/constants/fokabotCommands.py b/constants/fokabotCommands.py index 853bcfe..c56d8a9 100644 --- a/constants/fokabotCommands.py +++ b/constants/fokabotCommands.py @@ -60,8 +60,8 @@ def roll(fro, chan, message): points = random.randrange(0,maxPoints) return "{} rolls {} points!".format(fro, str(points)) -def ask(fro, chan, message): - return random.choice(["yes", "no", "maybe"]) +#def ask(fro, chan, message): +# return random.choice(["yes", "no", "maybe"]) def alert(fro, chan, message): glob.tokens.enqueueAll(serverPackets.notification(' '.join(message[:]))) @@ -620,11 +620,12 @@ commands = [ }, { "trigger": "!help", "response": "Click (here)[https://ripple.moe/index.php?p=16&id=4] for FokaBot's full command list" - }, { - "trigger": "!ask", - "syntax": "", - "callback": ask - }, { + }, #{ + #"trigger": "!ask", + #"syntax": "", + #"callback": ask + #}, { + { "trigger": "!mm00", "callback": mm00 }, {