13 lines
521 B
Markdown
13 lines
521 B
Markdown
# 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.
|