Sed bot for XMPP
.gitignore | ||
clean | ||
config.lua | ||
config_private_example.lua | ||
main.lua | ||
README.md | ||
run | ||
utils.lua | ||
verse.lua |
Lua XMPP Sed Bot
This bot replaces text similar to the 'sed' tool
How to run
Make sure make
, tar
, gzip
, lua
, and luarocks
are installed.
Then do luarocks install luasocket luaexpat luasec lrexlib-pcre2
Next configure the bot to your liking in config.lua
. Also don't forget to copy config_private_example.lua
to config_private.lua
and fill that out as well.
Then run the ./run
script. It will download and compile the verse.lua
xmpp library if it doesn't exist. Then it will start the bot.