mirror of
https://github.com/duckietm/Nitro-V3.git
synced 2026-06-19 15:06:20 +00:00
🆙 Fixed the commands
This commit is contained in:
@@ -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) =>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user