feat(bot): add blacklist

This commit is contained in:
Leifer Mendez
2023-01-23 12:02:31 +01:00
parent 3c4b1c0fc4
commit 7078dc4c93
2 changed files with 6 additions and 3 deletions

View File

@@ -8,8 +8,8 @@ const { addKeyword, addAnswer, addChild, toSerialize } = require('./io/methods')
* @param {*} args
* @returns
*/
const createBot = async ({ flow, database, provider }) =>
new CoreClass(flow, database, provider)
const createBot = async ({ flow, database, provider }, args = {}) =>
new CoreClass(flow, database, provider, args)
/**
* Crear instancia de clase Io (Flow)