Skip to content

Instantly share code, notes, and snippets.

@zaoldyeck
Created July 19, 2018 03:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zaoldyeck/91bc16517aec795fb9a9cfff77a91d9c to your computer and use it in GitHub Desktop.
Save zaoldyeck/91bc16517aec795fb9a9cfff77a91d9c to your computer and use it in GitHub Desktop.
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