diff --git a/index.html b/index.html index d7dd642..9164575 100644 --- a/index.html +++ b/index.html @@ -96,7 +96,8 @@ //-- Print Messages insertChat("you", "/help", 0); -insertChat("me", "Selecciona el comando que quieras saber la explicación", 1500); +insertChat("me", "Selecciona el comando que quieras saber la explicación", 1500); + diff --git a/json/comandos.json b/json/comandos.json new file mode 100644 index 0000000..d80bef3 --- /dev/null +++ b/json/comandos.json @@ -0,0 +1,5 @@ +[ +"hola", +"buenosdias", +"buenastardes" +] diff --git a/json/comandos/buenastardes.json b/json/comandos/buenastardes.json new file mode 100644 index 0000000..7d00388 --- /dev/null +++ b/json/comandos/buenastardes.json @@ -0,0 +1,10 @@ +[ +{ +"user":2, +"text":"Buenas tardes" +}, +{ +"user":1, +"text":"Buenos tardes {{username}} ¿Ya has comido?" +} +] diff --git a/json/comandos/buenosdias.json b/json/comandos/buenosdias.json new file mode 100644 index 0000000..a3e29eb --- /dev/null +++ b/json/comandos/buenosdias.json @@ -0,0 +1,10 @@ +[ +{ +"user":2, +"text":"Buenos días" +}, +{ +"user":1, +"text":"Buenos días {{username}} para ti también" +} +] diff --git a/json/comandos/hola.json b/json/comandos/hola.json new file mode 100644 index 0000000..1472143 --- /dev/null +++ b/json/comandos/hola.json @@ -0,0 +1,10 @@ +[ +{ +"user":2, +"text":"Hola" +}, +{ +"user":1, +"text":"Hola {{username}} ¿Qué tal?" +} +] diff --git a/json/user/1.json b/json/user/1.json new file mode 100644 index 0000000..8b5c945 --- /dev/null +++ b/json/user/1.json @@ -0,0 +1,4 @@ +{ +"username":"Pilaricabot", +"img":"img/pilarica.jpg +} diff --git a/json/user/2.json b/json/user/2.json new file mode 100644 index 0000000..9532ca8 --- /dev/null +++ b/json/user/2.json @@ -0,0 +1,4 @@ +{ +"username":"Karu", +"img":"img/User.jpg +}