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