Delay is not needed anymore.

This commit is contained in:
Cohee 2024-07-14 13:59:51 +03:00
parent af15794222
commit a037129c20
1 changed files with 0 additions and 1 deletions

View File

@ -403,7 +403,6 @@ export async function convertCharacterToPersona(characterId = null) {
}
if (description.includes('{{char}}') || description.includes('{{user}}')) {
await delay(500);
const confirm = await Popup.show.confirm('Persona Description Macros', 'This character has a description that uses <code>{{char}}</code> or <code>{{user}}</code> macros. Do you want to swap them in the persona description?');
if (confirm) {
description = description.replace(/{{char}}/gi, '{{personaChar}}').replace(/{{user}}/gi, '{{personaUser}}');