v0.33.1: fix hot reload re-registration, add !hello, comprehensive docs
- Fixed hot reload: after TLS session restore, the bot now does a fresh IRC connection and re-sends PASS/NICK/USER to re-register with the server, fixing the issue where channels were never re-joined after !reload or !restart. - Removed ZYNK_RESTORE_FD env var approach; reload_try_restore now restores settings and returns 1 to trigger a fresh connect. - Added !hello command for casual greeting. - Added atomic build rule in Makefile (compile to .tmp, then mv). - Added comprehensive function-level documentation across the entire codebase (~80 new doc comments).
This commit is contained in:
parent
76ae9cc1ef
commit
476554d2cb
4 changed files with 1093 additions and 45 deletions
|
|
@ -75,6 +75,7 @@ zynk/
|
|||
| `zynk <key>` | Look up a stored value |
|
||||
| `zynk <key> = <value>` | Store a value |
|
||||
| `!ping` | Responds with pong |
|
||||
| `!hello` | Responds with hello and the user's name |
|
||||
| `!weather [city]` | Current weather (default: Berlin) |
|
||||
| `!forecast [city]` | 3-day forecast |
|
||||
| `!ai <question>` | Ask the AI a question |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue