Commit Graph

33 Commits (de2643183f48ff1501e894fdddb725200c42dec6)

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 8530a3bb77 (hachi) Add breadtarot foil 2022-03-23 16:55:09 +00:00
mio d31e322b10 Add tracery-inspired example 2022-03-22 06:10:42 +00: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
mio 8d262f2fb1 Add cli flag for specifying config file
- Add cli flag for specifying config file
  (This allows running multiple running instances)
- Fix channel joins by waiting for server reply (thanks benharri)
- Remove toot commands from help message (unannounced feature)
- Update readme
2020-10-25 22:28:31 +00:00
mio 16be6d9dda Update username parsing
- Update username parsing
- [ramenkan] Include one meat definitively in !ramen output
- [ramenkan] Add tsukemen and other data
2020-10-23 23:17:03 +00:00
mio 188c96a62c Add ramenkan data 2020-10-23 19:28:34 +00:00
mio ead6eeeb24 Minor text edit 2019-04-01 18:12:46 +00:00
mio cdc722510b Update readme 2019-01-15 17:26:21 +00:00
mio 50fb3dc5d7 Remove unused lib 2018-10-15 05:15:31 +00:00
mio cb5d49ff5a Check for ping timeout and exit 2018-10-13 17:18:47 +00:00
mio 143e5b91af Simpler keepalive response (thanks desvox), change license to BSD 2018-10-13 15:07:59 +00:00
mio 1f49b05e10 Remove sleep 2018-10-10 20:33:06 +00:00
mio edeff5469d Add toot error handling 2018-10-10 16:48:05 +00:00
mio a09f7b1d7e Fix pong response 2018-10-05 15:31:06 +00:00
mio 6984c4a8df Add veggie ramen toot variant 2018-09-17 23:23:34 +00:00
mio 884261c783 Add posting to mastodon 2018-09-17 23:17:00 +00:00
mio 1ebf436ba9 Add show photo link handler 2018-09-17 16:27:05 +00:00
mio d5f882303e Add README 2018-09-17 05:42:14 +00:00
mio 0c3ba15173 Add veggie ramen handler, move other handler text to yml 2018-09-17 05:22:18 +00:00
mio 542976eb9d Add ramen handler 2018-09-17 03:51:09 +00:00
mio 5f8f89988b Rearrange files, add links 2018-09-16 04:48:50 +00:00
mio f0103c73db Convert config.py to yml 2018-09-15 23:18:44 +00:00
mio 45029d9525 Add listener object 2018-09-14 23:37:47 +00:00
mio 3914db4685 Move sample run routine 2018-09-14 05:54:21 +00:00
mio 797ed660dd Change class instantiation, add a bit of error handling 2018-09-13 20:12:18 +00:00
mio 02aff49ea0 Convoluted but works, needs better abstraction 2018-09-13 06:10:50 +00:00
mio cef65b6a94 Starter demo 2018-09-12 20:01:24 +00:00