mirror of
https://github.com/Megghy/vtsuru.live.git
synced 2025-12-06 18:36:55 +08:00
build test
This commit is contained in:
@@ -394,7 +394,7 @@ function getTextFromDanmaku(data: EventModel | undefined) {
|
||||
text = text
|
||||
.replace(
|
||||
templateConstants.name.regex,
|
||||
settings.value.voiceType == 'api' && settings.value.splitText ? `\'${data.name}\'` : data.name,
|
||||
settings.value.voiceType == 'api' && settings.value.splitText ? `'${data.name}'` : data.name,
|
||||
)
|
||||
.replace(templateConstants.count.regex, data.num.toString())
|
||||
.replace(templateConstants.price.regex, data.price.toString())
|
||||
|
||||
Reference in New Issue
Block a user