From 0f7b2c0391eee41d1cc847d6875937e3d86f4ac7 Mon Sep 17 00:00:00 2001 From: Someone Date: Fri, 19 Jun 2020 01:32:13 +0200 Subject: [PATCH] [somebot] /should_i_tu_it --- somebot/modules/CommandShouldITUIt.py | 39 +++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 somebot/modules/CommandShouldITUIt.py diff --git a/somebot/modules/CommandShouldITUIt.py b/somebot/modules/CommandShouldITUIt.py new file mode 100644 index 0000000..c9978a9 --- /dev/null +++ b/somebot/modules/CommandShouldITUIt.py @@ -0,0 +1,39 @@ +# Mattermost Bot. +# Copyright (c) 2016-2020 by Someone (aka. Jan Vales ) +# published under MIT-License + +import random + + +from AbstractCommand import * +class CommandShouldITUIt(AbstractCommand): + TRIGGER = "should_i_tu_it" + CONFIG = {"display_name": "somebot-command", "auto_complete": True, + "auto_complete_hint": "", + } + USEINFO = CONFIG["auto_complete_desc"] = CONFIG["description"] = "Should I :tu: it?" + + options = ["No", + "No?", + "Nope!", + "Nope! Nope! Nope!", + "#### Nope! Nope! Nope!", + "#### Noooooo!", + "#### Nooooooooo!", + "#### Nooooooooooooooooo!", + "~~Mayb~~ ...hooow about NO?", + "Definitely not!", + "#### Definitely not!", + "please no?", + "#### please, no!", + "Did you even need to ask that?", + "#### Next question!", + "Dont even think about it.", + "Hell no!", + "Why would you?", + ] + + + def on_POST(self, request, data): + request.cmd_respond_text_chan(random.choice(self.options)) + -- 2.43.0