From 646fb7d7508f66c25588df65f7264c6af317c126 Mon Sep 17 00:00:00 2001 From: Someone Date: Wed, 8 Dec 2021 19:38:38 +0100 Subject: [PATCH] [somebot] /should_i_tu_it --- modules/CommandShouldITUIt.py | 38 +++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 modules/CommandShouldITUIt.py diff --git a/modules/CommandShouldITUIt.py b/modules/CommandShouldITUIt.py new file mode 100644 index 0000000..f7382ef --- /dev/null +++ b/modules/CommandShouldITUIt.py @@ -0,0 +1,38 @@ +# Mattermost Bot module. +# Copyright (c) 2016-2021 by Someone (aka. Jan Vales ) +# published under MIT-License + +import random + + +from AbstractCommand import AbstractCommand +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