lua_xmpp_sed_bot/README.md

14 lines
521 B
Markdown
Raw Permalink Normal View History

2024-06-24 17:00:30 -05:00
# Lua XMPP Sed Bot
2024-06-01 16:46:19 -05:00
2024-06-24 17:00:30 -05:00
This bot replaces text similar to the 'sed' tool
2024-06-01 16:46:19 -05:00
# How to run
Make sure `make`, `tar`, `gzip`, `lua`, and `luarocks` are installed.
2024-06-24 17:00:30 -05:00
Then do `luarocks install luasocket luaexpat luasec lrexlib-pcre2`
2024-06-01 16:46:19 -05:00
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.
2024-06-24 17:00:30 -05:00
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.