Merge pull request #125 from duckietm/Dev

🆙 Fixed the commands
This commit is contained in:
DuckieTM
2026-05-08 16:45:02 +02:00
committed by GitHub
@@ -192,7 +192,12 @@ const useChatInputWidgetState = () =>
}
}
const preserveTrailingSpaces = (message: string) => message.replace(/ +$/g, match => '\u00A0'.repeat(match.length));
const preserveTrailingSpaces = (message: string) =>
{
if(message.startsWith(':')) return message;
return message.replace(/ +$/g, match => '\u00A0'.repeat(match.length));
};
const dispatchChatMessage = (message: string) =>
{