Created
July 19, 2018 03:24
-
-
Save zaoldyeck/91bc16517aec795fb9a9cfff77a91d9c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const {LineHandler} = require('bottender') | |
exports.lineHandler = new LineHandler() | |
.onText(async context => { | |
const text = context.event.text | |
const reply = text | |
await context.replyText(reply) | |
} | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment