2
0
Fork 0
forked from zynk/zynk

Strip trailing space from wttr.in weather descriptions. (0.40.6)

- Fixed trailing space in weather descriptions from wttr.in (e.g.
  'Partly Cloudy ' -> 'Partly Cloudy'), which caused a stray space
  before the closing parenthesis in !forecast full output (e.g.
  '(Partly Cloudy )' instead of '(Partly Cloudy)').
- Applied the same trailing-space fix to the cond field used by
  non-full !forecast and !weather.
- Updated CHANGELOG.md with 0.40.6 entry.
This commit is contained in:
Johannes Findeisen 2026-07-24 01:42:13 +02:00
commit 3b863d581d
4 changed files with 13 additions and 3 deletions

View file

@ -2,6 +2,12 @@
An IRC bot in C. Features a key-value store backed by SQLite3, weather lookups via wttr.in, stock quotes, calculator, time, user tracking, and AI-powered replies.
## This is a fork!
This is a fork from my good friend Armin's [calc](https://codeberg.org/armin/calc) bot. He started the project, but he is working on a lot of awesome other things like plugins (VST and AU) for your DAW right now. So, I forked this awesome code, and I am working on this now.
I want to thank Armin for his work and for sharing his code with me. Take a look at [his profile here to see his awesome work](https://codeberg.org/armin).
## Features
- **Key-Value Store**: Persist facts, notes, or any data with `!zynk key = value`; Overwrite existing keys with `!zynk! key = value`