mathew-kurian / FacebookMessengerBot.js

:mailbox: Simple, light-weight Facebook Messenger Bot API for Node with ES6 support (via. Promises)
https://developers.facebook.com/docs/messenger-platform
117 stars 24 forks source link

README.md: update references to wait function #15

Closed Kilian closed 7 years ago

Kilian commented 7 years ago

In your documentation, there are references to both bot.wait() and sleep(), but neither functions are available from FacebookMessengerBot. The function is Bot.wait(). I replaced all instances of bot.wait() and sleep() with Bot.wait() in the readme :)

mathew-kurian commented 7 years ago

Thanks