Sed bot for XMPP
Find a file
2024-06-24 17:00:30 -05:00
.gitignore First commit 2024-06-01 16:46:19 -05:00
clean Write the code 2024-06-24 17:00:30 -05:00
config.lua Write the code 2024-06-24 17:00:30 -05:00
config_private_example.lua First commit 2024-06-01 16:46:19 -05:00
main.lua Write the code 2024-06-24 17:00:30 -05:00
README.md Write the code 2024-06-24 17:00:30 -05:00
run Write the code 2024-06-24 17:00:30 -05:00
utils.lua Write the code 2024-06-24 17:00:30 -05:00
verse.lua First commit 2024-06-01 16:46:19 -05:00

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.