From 530071a9078ada86e3d1a38357f97622763c6894 Mon Sep 17 00:00:00 2001 From: qwerinope Date: Tue, 25 Nov 2025 00:41:24 +0100 Subject: [PATCH] fix use command by making the activation string undefined on normal alias use --- src/events/message.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/events/message.ts b/src/events/message.ts index c2259f2..1fe7c5f 100644 --- a/src/events/message.ts +++ b/src/events/message.ts @@ -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;