refactor(commands): canonicalize text command aliases

This commit is contained in:
Peter Steinberger
2026-01-09 17:21:25 +01:00
parent c82ebd3ef3
commit 1478473537
3 changed files with 48 additions and 7 deletions

View File

@@ -594,8 +594,7 @@ export async function handleCommands(params: {
const statusRequested =
directives.hasStatusDirective ||
command.commandBodyNormalized === "/status" ||
command.commandBodyNormalized === "/usage";
command.commandBodyNormalized === "/status";
if (allowTextCommands && statusRequested) {
const reply = await buildStatusReply({
cfg,