refactor(commands): canonicalize text command aliases
This commit is contained in:
1 parent
c82ebd3ef3
commit
1478473537
3 files changed
+48
-7
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user