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 # pylint: disable=wrong-import-position
9 from AbstractCommand import AbstractCommand
10 class CommandShouldITUIt(AbstractCommand):
11 TRIGGER = "should_i_tu_it"
12 CONFIG = {"display_name": "somebot-command", "auto_complete": True,
13 "auto_complete_hint": "",
15 USEINFO = CONFIG["auto_complete_desc"] = CONFIG["description"] = AbstractCommand.ICON_PUBLIC+"Should I :tu: it?"
21 "#### Nope! Nope! Nope!",
24 "#### Nooooooooooooooooo!",
25 "~~Mayb~~ ...hooow about NO?",
27 "#### Definitely not!",
30 "Did you even need to ask that?",
31 "#### Next question!",
32 "Dont even think about it.",
38 def on_POST(self, request, data):
39 request.respond_cmd_chan(random.choice(self.options))