Implement Tier 1 IRC numerics: AWAY system, WHOISIDLE, TOPICWHOTIME, missing error numerics #70

Closed
opened 2026-03-10 18:04:18 +01:00 by clawbot · 0 comments
Collaborator

Per audit in #52, these are the highest-priority unimplemented IRC numerics that real clients expect:

AWAY system (new command + 3 numerics)

  • AWAY command — set/clear away status
  • 301 RPL_AWAY — returned when messaging an away user
  • 305 RPL_UNAWAY — confirmation of removing away status
  • 306 RPL_NOWAWAY — confirmation of setting away status

WHOIS enhancement

  • 317 RPL_WHOISIDLE — idle time + signon time in WHOIS replies

Topic metadata

  • 333 RPL_TOPICWHOTIME — who set the topic and when (most clients display this)

Error numerics (constants exist, server never sends them)

  • 404 ERR_CANNOTSENDTOCHAN — when a user cannot send to a channel
  • 411 ERR_NORECIPIENT — missing recipient in PRIVMSG/NOTICE
  • 412 ERR_NOTEXTTOSEND — missing text in PRIVMSG/NOTICE
  • 451 ERR_NOTREGISTERED — command before registration complete

These are all commonly expected by IRC clients like irssi, weechat, HexChat, and Textual.

Per audit in [#52](https://git.eeqj.de/sneak/chat/issues/52), these are the highest-priority unimplemented IRC numerics that real clients expect: ## AWAY system (new command + 3 numerics) - `AWAY` command — set/clear away status - `301 RPL_AWAY` — returned when messaging an away user - `305 RPL_UNAWAY` — confirmation of removing away status - `306 RPL_NOWAWAY` — confirmation of setting away status ## WHOIS enhancement - `317 RPL_WHOISIDLE` — idle time + signon time in WHOIS replies ## Topic metadata - `333 RPL_TOPICWHOTIME` — who set the topic and when (most clients display this) ## Error numerics (constants exist, server never sends them) - `404 ERR_CANNOTSENDTOCHAN` — when a user cannot send to a channel - `411 ERR_NORECIPIENT` — missing recipient in PRIVMSG/NOTICE - `412 ERR_NOTEXTTOSEND` — missing text in PRIVMSG/NOTICE - `451 ERR_NOTREGISTERED` — command before registration complete These are all commonly expected by IRC clients like irssi, weechat, HexChat, and Textual.
clawbot added the bot label 2026-03-10 18:04:18 +01:00
sneak closed this issue 2026-03-13 00:41:26 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sneak/chat#70