mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
document some functions
This commit is contained in:
@ -385,6 +385,9 @@ function onExpressionsShowDefaultInput() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Stops animating a talkinghead.
|
||||||
|
*/
|
||||||
async function unloadTalkingHead() {
|
async function unloadTalkingHead() {
|
||||||
if (!modules.includes('talkinghead')) {
|
if (!modules.includes('talkinghead')) {
|
||||||
console.debug('talkinghead module is disabled');
|
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() {
|
async function loadTalkingHead() {
|
||||||
if (!modules.includes('talkinghead')) {
|
if (!modules.includes('talkinghead')) {
|
||||||
console.debug('talkinghead module is disabled');
|
console.debug('talkinghead module is disabled');
|
||||||
|
Reference in New Issue
Block a user