remove ! from args

This commit is contained in:
2025-09-14 22:01:23 +02:00
parent 56aa677fe0
commit 04487d3aae

View File

@@ -10,7 +10,7 @@ export default function parseCommandArgs(input: string, specialAlias?: string) {
nice = input.toLowerCase().slice(commandPrefix.length).trim();
sliceLength = nice.startsWith('use') ? 2 : 1;
}
return nice.split(' ').slice(sliceLength);
return nice.split(' ').slice(sliceLength).map(a => a.replaceAll(/!/gi, ''));
};
export function parseCheerArgs(input: string) {