# Mattermost Bot.
#  Copyright (c) 2016-2020 by Someone <someone@somenet.org> (aka. Jan Vales <jan@jvales.net>)
#  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))

