suggestion: apply 'processScriptFull()' to 'editprocess' mode regex script
This commit is contained in:
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user