Exemple #1
0
def jokesHandler(message):
    response = cnjokes.handleMessage(message['text'])
    if response:
        return [response]
Exemple #2
0
def jokesHandler(message):
  return [cnjokes.handleMessage(message['text'])]
Exemple #3
0
def jokesHandler(message):
    response = cnjokes.handleMessage(message["text"])
    if response:
        return [response]