fix use command by making the activation string undefined on normal alias use

This commit is contained in:
2025-11-25 00:41:24 +01:00
parent af946e59b8
commit 530071a907

View File

@@ -106,7 +106,7 @@ async function handleChatMessage(
type selectedCommand = {
cmd: Command;
activation: string;
activation?: string;
isitem: boolean;
};
@@ -129,7 +129,7 @@ function selectCommand(message: string): selectedCommand | false {
if (normalcmd)
return {
cmd: normalcmd,
activation: commandPrefix + commandSelector,
activation: undefined,
isitem: normalcmd instanceof Item,
};
return false;