Mini IRC bot module in Lua
Go to file
mio 75d3f149f2 Add handlers to list servers/channels, connect to/quit servers
- 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
2022-03-20 03:42:25 +00:00
examples Add handlers to list servers/channels, connect to/quit servers 2022-03-20 03:42:25 +00:00
.gitignore Rewrite module in Lua 2022-03-14 06:57:49 +00:00
README.md Rewrite module in Lua 2022-03-14 06:57:49 +00:00
itte.lua Add handlers to list servers/channels, connect to/quit servers 2022-03-20 03:42:25 +00:00
itteutil.lua Add handlers to list servers/channels, connect to/quit servers 2022-03-20 03:42:25 +00:00

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 the examples/ directory. Copy the examples/sample.servers.lua as ramenkan.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