Skip to content

Instantly share code, notes, and snippets.

@MichaelBarney
Last active May 1, 2020 20:25
Show Gist options
  • Save MichaelBarney/4c671632778b98cb24ee080f598386ca to your computer and use it in GitHub Desktop.
Save MichaelBarney/4c671632778b98cb24ee080f598386ca to your computer and use it in GitHub Desktop.
module.exports = function(controller) {
controller.hears(['Oi', 'Olá!'],'message', async(bot, message) => {
await bot.reply(message, 'Olá!');
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment