コード例 #1
0
ファイル: commandHandlers.py プロジェクト: beandon/Skypebot
def responseHandler(msg):
    """Handle gathering a response from the database and return it"""
    c = Command(msg.Body)
    response = c.getResponse(msg)
    if response:
        msg.Chat.SendMessage(response)