Mini IRC bot module in Lua
Go to file
mio 8e84095be6 Change the behaviour of service code detection
- Parse service codes if they are sent as `!code` or `nick: !code` in channels
  and private messages (where `!code` is an example code prefix and service
  code, and `nick` is the bot's nick). If the service code is not provided at
  the start of the message body, it will be treated as a message without a
  service code and passed to the target handler.

- If a target handler is defined, both messages in the form `nick: message`
  in a channel and `message` in a private message will be sent to the handler.
  The `nick:` at the start of `nick: message` will no longer be filtered out.

  The default name of the target handler is `target`, as in
  `itte_handlers.target(cxt, msg)`. This can be changed in the config by
  setting a new `itte_config.target_handler` value.
2022-04-28 23:16:30 -04:00
docs Bump release version to 1.2 2022-04-25 17:35:14 -04:00
examples (hellobot) Minor adjustment for scheduled task 2022-04-27 23:27:56 -04:00
rockspecs Add dev rockspec by Will Sinatra 2022-04-26 11:59:29 -04:00
.gitignore Fix task repetition 2022-04-09 01:28:59 -04:00
README.md Bump release version to 1.2 2022-04-25 17:35:14 -04:00
itte.lua Change the behaviour of service code detection 2022-04-28 23:16:30 -04:00
itteutil.lua Fix task repetition 2022-04-09 01:28:59 -04:00

README.md

itte

Mini IRC bot module in Lua.

Currently supported:

  • Authentication via SASL (plain) or Nickserv
  • Joining multiple servers
  • Ad-hoc connecting to servers and joining channels
  • Config reload
  • Scheduled tasks

Installation

Please see the docs.

Contributions

Luarocks rockspec from Will Sinatra

License

BSD-3.0