Ejemplo n.º 1
0
def respondToTrigger(input):
    triggers = ["assignment","opdracht","what do i do"]
    for t in triggers:
        if t in input:
            if askedCounter > 0:
                output("why do you ask me this again?")
            c.output(randomAssignments())
Ejemplo n.º 2
0
def respondRandom():
    answer = [
    "OK",
    "Roger",
    "Roger that",
    "acknowleged",
    "confirmat"
    ]
    c.output()
Ejemplo n.º 3
0
def respondRandom():
    answers = [
    "Ok!"
    "You got it!"
    "Concider it done"
    "Thanks, you too!"
    "Come on now!"
    "Hahaha!"
    ]
    c.output()
Ejemplo n.º 4
0
def setup():
    c.output("This is the rogor.")
    c.sleep(1)
    c.output("hallo")
Ejemplo n.º 5
0
def setup():
    c.output("This is the bot template.")
    c.sleep(1)
    c.output('It does nothing more than just responding with "Ok".')
Ejemplo n.º 6
0
def output(s):
    c.output(s)
Ejemplo n.º 7
0
def response(input):
    print(input)
    c.output("Ok")
Ejemplo n.º 8
0
def setup():
    global askedCounter
    askedCounter = 0
    c.output("Hello my name is Roger")
    c.sleep(1)
    c.output("wassup")
Ejemplo n.º 9
0
def response(input):
    #print(input)
    if not respondToTrigger(input):
        c.output(respondRandom())