diff --git a/.gitignore b/.gitignore index 4d40434..c5f16a4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,6 @@ +# Config file +bot/config.json + # Object files *.o *.ko diff --git a/bot/bot.lua b/bot/bot.lua index 98a50cb..d93ec04 100644 --- a/bot/bot.lua +++ b/bot/bot.lua @@ -1,7 +1,7 @@ http = require("socket.http") json = (loadfile "./bot/JSON.lua")() -VERSION = 'v0.0.6' +VERSION = 'v0.0.7' function on_msg_receive (msg) -- vardump(msg) @@ -54,6 +54,10 @@ function do_action(msg) if string.starts(msg.text, 'forni') then text = msg.text:sub(7,-1) send_msg('Fornicio_2.0', text) + end + if string.starts(msg.text, 'hackers') then + text = msg.text:sub(9,-1) + send_msg('Juankers._Dios_existe_y_es_