This commit is contained in:
Leifer
2022-10-29 12:15:05 +02:00
parent 1e9574e740
commit 5974f3c9f2
6 changed files with 51 additions and 11 deletions

View File

@@ -0,0 +1,16 @@
/**
*
* @param {*} message `string | string[]`
* @param {*} options {sensitivy:boolean} defaulta false
*/
const addKeyword = (message, options) => {
if (typeof message === 'string') return 1
return 0
}
module.exports = { addKeyword }
// await inout.addKeyword('hola')
// .addAnswer('Bienvenido a tu tienda 🥲')
// .addAnswer('escribe *catalogo* o *ofertas*')
// await inout.addKeyword(['catalogo','ofertas'])