Merge pull request #2171 from 24adamcho/generic-card-download

Character card import from generic sources (specifically Discord, Catbox.moe)
This commit is contained in:
Cohee
2024-05-01 19:58:17 +03:00
committed by GitHub
3 changed files with 76 additions and 6 deletions

View File

@ -10165,7 +10165,7 @@ jQuery(async function () {
<li>JanitorAI Character (Direct Link or UUID)<br>Example: <tt>ddd1498a-a370-4136-b138-a8cd9461fdfe_character-aqua-the-useless-goddess</tt></li>
<li>Pygmalion.chat Character (Direct Link or UUID)<br>Example: <tt>a7ca95a1-0c88-4e23-91b3-149db1e78ab9</tt></li>
<li>AICharacterCard.com Character (Direct Link or ID)<br>Example: <tt>AICC/aicharcards/the-game-master</tt></li>
<li>More coming soon...</li>
<li>Direct PNG Link (refer to <code>config.yaml</code> for allowed hosts)<br>Example: <tt>https://files.catbox.moe/notarealfile.png</tt></li>
<ul>`;
const input = await callPopup(html, 'input', '', { okButton: 'Import', rows: 4 });