1 # Mattermost Bot module.
2 # Copyright (c) 2016-2022 by Someone <someone@somenet.org> (aka. Jan Vales <jan@jvales.net>)
3 # published under MIT-License
8 from AbstractCommand import AbstractCommand
9 class CommandShouldITUIt(AbstractCommand):
10 TRIGGER = "should_i_tu_it"
11 CONFIG = {"display_name": "somebot-command", "auto_complete": True,
12 "auto_complete_hint": "",
14 USEINFO = CONFIG["auto_complete_desc"] = CONFIG["description"] = "Should I :tu: it?"
20 "#### Nope! Nope! Nope!",
23 "#### Nooooooooooooooooo!",
24 "~~Mayb~~ ...hooow about NO?",
26 "#### Definitely not!",
29 "Did you even need to ask that?",
30 "#### Next question!",
31 "Dont even think about it.",
37 def on_POST(self, request, data):
38 request.cmd_respond_text_chan(random.choice(self.options))