Commit Graph
2 Commits
Author SHA1 Message Date
clawbot 5efb4b6949 refactor: replace all bare command string literals with named constants
check / check (push) Successful in 2m15s
Extract cmdLusers, cmdMode, cmdMotd, cmdNames, cmdNotice, cmdPing, cmdPong
constants in internal/handlers/api.go. Add corresponding constants in
cmd/neoirc-cli/main.go and cmd/neoirc-cli/api/client.go. Replace every bare
IRC command string literal in switch cases and command dispatch code with the
named constant. Zero bare command strings remain in any dispatch path.
2026-03-09 15:23:00 -07:00
clawbot a193831ed4 fix: extract repeated IRC command string literals to constants (goconst)
check / check (push) Successful in 2m18s
2026-03-09 15:07:02 -07:00