add HELP command with a built-in index and per-topic help (704/705/706)

This commit is contained in:
Jean Chevronnet 2026-08-16 18:20:57 +00:00
parent ba9d62b172
commit 5046083608
2 changed files with 73 additions and 0 deletions

View file

@ -101,6 +101,9 @@ pub const RPL_WHOISMODES: u16 = 379; // oper/self-only: "is using modes +<umodes
pub const RPL_SNOMASKIS: u16 = 8; // "+<mask> :Server notice mask" after a +s change
pub const ERR_NEEDREGGEDNICK: u16 = 477; // chan +R/+M — must be logged into an account
pub const RPL_WHOISHOST: u16 = 378; // oper-only: real host/ip behind a cloak
pub const RPL_HELPSTART: u16 = 704; // /HELP first line
pub const RPL_HELPTXT: u16 = 705; // /HELP body line
pub const RPL_ENDOFHELP: u16 = 706; // /HELP terminator
pub const RPL_WHOISSECURE: u16 = 671; // "is using a secure connection" (sslinfo)
pub const RPL_WHOISCERTFP: u16 = 276; // "has client certificate fingerprint <fp>"
pub const RPL_HOSTHIDDEN: u16 = 396; // "is now your displayed host" (cloak on/off)