Mini IRC bot module in Lua
Go to file
mio 7963d7221c Bugfixes
- Add global admins table, set disconnect and reload built-in handlers to be
  accessible by global admins only
- Only send an unknown code error in private messages to avoid responding to
  other bots' codes when there is a prefix collision
- Fix server contexts not being updated after a config reload
- Fix service codes being improperly parsed in privmsgs when different code
  prefixes are used
- Fix joining channels on some networks when connecting without
  authentication
- Fix disconnecting from one server also causing disconnection from other
  servers
2022-03-19 17:33:07 +00:00
examples Bugfixes 2022-03-19 17:33:07 +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 Bugfixes 2022-03-19 17:33:07 +00:00
itteutil.lua Rewrite module in Lua 2022-03-14 06:57:49 +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