2
0
Fork 0
forked from zynk/zynk

feat: add !rebuild command for git pull + make + restart (0.37.0)

Added !rebuild op-only command that runs git pull, make clean, and make
in sequence, then triggers hot reload on success. Reports build errors
from stderr if any step fails. Updated !help and README.md docs.
This commit is contained in:
Johannes Findeisen 2026-07-20 23:14:26 +02:00
commit caa70ee448
3 changed files with 77 additions and 2 deletions

View file

@ -1,3 +1,10 @@
2026.07.20 – Add !rebuild command.
- Added `!rebuild` command (ops only, channels): runs `git pull`, `make clean`, and `make` in sequence, then triggers a hot reload if all steps succeed. If any step fails, the error output from the build is reported to the channel.
- Updated `!help` to list `!rebuild`.
- Updated README.md with `!rebuild` documentation in the Admin (Ops Only) section.
- Version bumped to 0.37.0.
2026.07.20 – Fix !seen showing UTC instead of local time.
- Fixed `!seen` command storing UTC timestamps instead of local time: `seen_update()` used `datetime('now')` which returns UTC, causing `!seen <nick>` to display a time offset by the server's timezone difference (e.g. 16:00 instead of 18:00 on a UTC+2 system). Changed to `datetime('now','localtime')` so seen timestamps match the system's local time.