mio
75d3f149f2
- Add handlers to list connected servers and channels - Add handlers to connect and disconnect from servers - Check user config and only override specified settings - Redact parameters in admin-only handlers from debug output to avoid logging potential passwords - Set admin-only handlers to respond only in private messages - Include list of admin handlers for customisation - Extract debug strings to a table for customisation |
||
---|---|---|
examples | ||
.gitignore | ||
README.md | ||
itte.lua | ||
itteutil.lua |
README.md
itte
Mini IRC bot module in Lua.
Currently supported:
- Authentication via SASL (plain) or Nickserv
- Joining multiple servers
- Config reload
Requirements
Usage
See the bot files in the examples/
directory for usage notes.
Example: ramenkan
-
Install Lua and other dependencies, e.g. for Alpine:
apk add lua-socket lua-sec
-
Copy the
itte*.lua
files to theexamples/
directory. Copy theexamples/sample.servers.lua
asramenkan.servers.lua
and change the server settings as applicable. -
Run:
nohup lua /path/to/examples/ramenkan.lua >/dev/null 2>&1 &
License
BSD-3.0