Commit Graph

7 Commits (6de32954b4dce983102baf47b08cbf793dee598b)

Author SHA1 Message Date
mio de2643183f Fix task repetition
- Fix task scheduling not repeating and resulting in high cpu usage
- Fix pong response triggered by user message
- Add timestamp to debug output
2022-04-09 01:28:59 -04:00
mio 971b758524 Try to handle pings better
- Send a pong anyway if no ping request was detected after 120s
- (ramenkan) minor text adjustments
2022-04-04 00:31:52 -04:00
mio e9927fb1d7 Add scheduled tasks 2022-04-01 04:14:15 -04:00
mio 4edbf32ef9 Add docs
- Add more-detailed usage doc
- Add a smaller hello world example
- Include a user systemd file
- Fix config check to include second-level nested tables
2022-03-21 04:09:12 +00:00
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
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
mio 9005c0fba5 Rewrite module in Lua 2022-03-14 06:57:49 +00:00