mirror of
https://github.com/cheveguerra/botGuna.git
synced 2026-04-20 04:39:20 +00:00
Merge branch 'master' of https://github.com/cheveguerra/botLeiferAurik-Mod_2.0
This commit is contained in:
13
.env.example
13
.env.example
@@ -1,13 +0,0 @@
|
|||||||
######DATABASE: none, mysql, dialogflow
|
|
||||||
|
|
||||||
DEFAULT_MESSAGE=true
|
|
||||||
SAVE_MEDIA=true
|
|
||||||
PORT=3000
|
|
||||||
DATABASE=none
|
|
||||||
LANGUAGE=es
|
|
||||||
SQL_HOST=
|
|
||||||
SQL_USER=
|
|
||||||
SQL_PASS=
|
|
||||||
SQL_DATABASE=
|
|
||||||
KEEP_DIALOG_FLOW=false
|
|
||||||
MULTI_DEVICE=true
|
|
||||||
@@ -187,7 +187,7 @@ const saveMessage = ( message, trigger, number, regla ) => new Promise( async (r
|
|||||||
module.exports = { get, reply, getIA, saveMessage, remplazos, stepsInitial } //MOD by CHV - Agregamos "remplazos" y "stepsInitial" para usarlos en "apps.js"
|
module.exports = { get, reply, getIA, saveMessage, remplazos, stepsInitial } //MOD by CHV - Agregamos "remplazos" y "stepsInitial" para usarlos en "apps.js"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Reemplaza texto en la respuesta con variables predefinidas.
|
* Reemplaza texto en la respuesta con variables predefinidas.
|
||||||
*/
|
*/
|
||||||
function remplazos(elTexto){
|
function remplazos(elTexto){
|
||||||
laLista = elTexto.toString().split(' ');
|
laLista = elTexto.toString().split(' ');
|
||||||
|
|||||||
Reference in New Issue
Block a user