mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Add docs to /? message
This commit is contained in:
@ -1461,6 +1461,7 @@ function sendSystemMessage(type, text, extra = {}) {
|
|||||||
|
|
||||||
if (type == system_message_types.HELP) {
|
if (type == system_message_types.HELP) {
|
||||||
newMessage.mes += getSlashCommandsHelp();
|
newMessage.mes += getSlashCommandsHelp();
|
||||||
|
newMessage.mes += `<br><b>Still got questions left? The <a target="_blank" href="https://docs.sillytavern.app/">Official SillyTavern Documentation Website</a> has much more information!</b>`;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!newMessage.extra) {
|
if (!newMessage.extra) {
|
||||||
|
@ -166,5 +166,5 @@ $(document).ready(function () {
|
|||||||
setInterval(moduleWorker, UPDATE_INTERVAL);
|
setInterval(moduleWorker, UPDATE_INTERVAL);
|
||||||
registerSlashCommand('lock', onLockBackgroundClick, [], " – locks a background for the currently selected chat", true, true);
|
registerSlashCommand('lock', onLockBackgroundClick, [], " – locks a background for the currently selected chat", true, true);
|
||||||
registerSlashCommand('unlock', onUnlockBackgroundClick, [], ' – unlocks a background for the currently selected chat', true, true);
|
registerSlashCommand('unlock', onUnlockBackgroundClick, [], ' – unlocks a background for the currently selected chat', true, true);
|
||||||
registerSlashCommand('autobg', autoBackgroundCommand, ['bgauto'], ' – automatically changes the background based on the chat context', true, true);
|
registerSlashCommand('autobg', autoBackgroundCommand, ['bgauto'], ' – automatically changes the background based on the chat context using the AI request prompt', true, true);
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user