| 591 | handler: () => chat_metadata[metadata_keys.prompt] ?? '', | 591 | handler: () => chat_metadata[metadata_keys.prompt] ?? '', |
| 592 | }); | 592 | }); |
| 593 | macros.register('charAuthorsNote', { | 593 | macros.register('charAuthorsNote', { |
| 594 | category: MacroCategory.CHARACTER, | 594 | category: MacroCategory.PROMPTS, |
| 595 | description: t`The contents of the Character Author's Note`, | 595 | description: t`The contents of the Character Author's Note`, |
| 596 | handler: () => this_chid !== undefined ? (extension_settings.note.chara.find((e) => e.name === getCharaFilename())?.prompt ?? '') : '', | 596 | handler: () => this_chid !== undefined ? (extension_settings.note.chara.find((e) => e.name === getCharaFilename())?.prompt ?? '') : '', |
| 597 | }); | 597 | }); |