refactor(commands): canonicalize text command aliases

This commit is contained in:
Peter Steinberger committed 2026-01-09 17:22:46 +01:00
1 parent c82ebd3ef3
commit 1478473537
3 files changed
+48 -7

No files matched your search

+1 -2
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,