mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Fix speak command broken
This commit is contained in:
@ -1206,8 +1206,8 @@ $(document).ready(function () {
|
||||
eventSource.makeLast(event_types.USER_MESSAGE_RENDERED, onMessageEvent);
|
||||
SlashCommandParser.addCommandObject(SlashCommand.fromProps({
|
||||
name: 'speak',
|
||||
callback: () => {
|
||||
onNarrateText();
|
||||
callback: async (args, value) => {
|
||||
await onNarrateText(args, value);
|
||||
return '';
|
||||
},
|
||||
aliases: ['narrate', 'tts'],
|
||||
|
Reference in New Issue
Block a user