mio
7963d7221c
- 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 |
||
---|---|---|
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