2
0
Fork 0
forked from zynk/zynk

feat: add !gitlog command to display recent git commits

Add !gitlog [count] IRC command that runs 'git log --oneline' and
sends each commit as a separate PRIVMSG. Defaults to GITLOG_COUNT (5)
commits when no argument is provided; accepts 1-20 as count.

- Fork/exec pattern consistent with existing !calc command
- Rate-limited per-nick like all other commands
- Listed in !help output
- Added git to README.md requirements
- Documented in README.md utilities section
- Added changelog entry for v0.36.0
This commit is contained in:
Johannes Findeisen 2026-07-20 18:28:06 +02:00
commit 01a51c17e5
3 changed files with 71 additions and 2 deletions

View file

@ -1,3 +1,10 @@
2026.07.20 – Add !gitlog command.
- Added `!gitlog [count]` command: displays recent git commits of the zynk project using `git log --oneline`. Defaults to 5 commits (`GITLOG_COUNT`), accepts 1–20 as count. Each commit is sent as a separate IRC message.
- Updated `!help` to list `!gitlog`.
- Updated README.md with `!gitlog` documentation and `git` as a requirement.
- Version bumped to 0.36.0.
2026.07.20 – Remove timezone abbreviation from !time response.
- `!time` now outputs date and time only (`YYYY-MM-DD HH:MM:SS`) without the timezone abbreviation, keeping IRC responses shorter and cleaner.