Appearance
替换字符串中的 SillyTavern 宏。
async function substitudeMacros(text: string): Promise<string>;
text
string
const text = substitudeMacros("{{char}} speaks in {{lastMessageId}}"); text == "少女歌剧 speaks in 5";