feat: implement Tier 1 IRC numerics
All checks were successful
check / check (push) Successful in 2m20s

- AWAY command with RPL_AWAY (301), RPL_UNAWAY (305), RPL_NOWAWAY (306)
- RPL_WHOISIDLE (317) with idle time and signon time in WHOIS
- RPL_TOPICWHOTIME (333) with topic setter and timestamp
- Schema migration 002 for away_message and topic metadata columns
- Refactor deliverJoinNumerics into smaller helper functions
This commit is contained in:
clawbot
2026-03-10 10:12:42 -07:00
parent b19c8b5759
commit 5753c1a1a1
4 changed files with 320 additions and 11 deletions

View File

@@ -0,0 +1,6 @@
-- Add away message to sessions
ALTER TABLE sessions ADD COLUMN away_message TEXT NOT NULL DEFAULT '';
-- Add topic metadata to channels
ALTER TABLE channels ADD COLUMN topic_set_by TEXT NOT NULL DEFAULT '';
ALTER TABLE channels ADD COLUMN topic_set_at DATETIME;