suggestion: apply 'processScriptFull()' to 'editprocess' mode regex script

This commit is contained in:
bangonicdd
2025-01-17 03:58:20 +09:00
parent 521a374215
commit 172efe4d68

View File

@@ -669,9 +669,9 @@ export async function sendChat(chatProcessIndex = -1,arg:{
let index = 0
for(const msg of ms){
let formatedChat = await processScript(nowChatroom,risuChatParser(msg.data, {chara: currentChar, role: msg.role}), 'editprocess', {
let formatedChat = (await processScriptFull(nowChatroom,risuChatParser(msg.data, {chara: currentChar, role: msg.role}), 'editprocess', index, {
chatRole: msg.role,
})
})).data
let name = ''
if(msg.role === 'char'){
if(msg.saying){