]> git.somenet.org - pub/jan/mattermost-bot.git/blob - modules/CommandShouldITUIt.py
modules/CommandInskription.py
[pub/jan/mattermost-bot.git] / modules / CommandShouldITUIt.py
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
4
5 import random
6
7
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":  "",
14              }
15     USEINFO = CONFIG["auto_complete_desc"] = CONFIG["description"] = AbstractCommand.ICON_PUBLIC+"Should I :tu: it?"
16
17     options = ["No",
18                "No?",
19                "Nope!",
20                "Nope! Nope! Nope!",
21                "#### Nope! Nope! Nope!",
22                "#### Noooooo!",
23                "#### Nooooooooo!",
24                "#### Nooooooooooooooooo!",
25                "~~Mayb~~ ...hooow about NO?",
26                "Definitely not!",
27                "#### Definitely not!",
28                "please no?",
29                "#### please, no!",
30                "Did you even need to ask that?",
31                "#### Next question!",
32                "Dont even think about it.",
33                "Hell no!",
34                "Why would you?",
35               ]
36
37
38     def on_POST(self, request, data):
39         request.respond_cmd_chan(random.choice(self.options))