UNPKG

generator-msbf-watson-coco

Version:

A yeoman generator for creating bots built with Bot Framework v4, for Watson and CoCo

11 lines (10 loc) 282 B
import { TurnContext } from "botbuilder"; export const initDefaultResponder = () => { const handleTurn = async (context: TurnContext) => { return Promise.resolve({ text: `${context.activity.text} to you too`, raw: {} }); }; return handleTurn; };