Add more flag support

This commit is contained in:
kwaroran
2024-09-23 20:59:52 +09:00
parent 988009d706
commit b06d6236d4

View File

@@ -94,7 +94,7 @@ export async function processScriptFull(char:character|groupChat|simpleCharacter
flag = flag.replace('g', '') //temperary fix
}
//remove unsupported flag
flag = flag.replace(/[^gimuy]/g, '')
flag = flag.replace(/[^dgimsuvy]/g, '')
if(flag.length === 0){
flag = 'u'