document some functions

This commit is contained in:
Juha Jeronen 2024-01-08 00:46:54 +02:00
parent 241660087a
commit 3f3e68c492
1 changed files with 6 additions and 0 deletions

View File

@ -385,6 +385,9 @@ function onExpressionsShowDefaultInput() {
}
}
/**
* Stops animating a talkinghead.
*/
async function unloadTalkingHead() {
if (!modules.includes('talkinghead')) {
console.debug('talkinghead module is disabled');
@ -404,6 +407,9 @@ async function unloadTalkingHead() {
}
}
/**
* Posts `talkinghead.png` of the current character to the talkinghead module in SillyTavern-extras, to start animating it.
*/
async function loadTalkingHead() {
if (!modules.includes('talkinghead')) {
console.debug('talkinghead module is disabled');