diff --git a/public/scripts/extensions/tts/index.js b/public/scripts/extensions/tts/index.js index 2a9b75ffc..32c5f39cb 100644 --- a/public/scripts/extensions/tts/index.js +++ b/public/scripts/extensions/tts/index.js @@ -20,6 +20,7 @@ import { SlashCommand } from '../../slash-commands/SlashCommand.js'; import { ARGUMENT_TYPE, SlashCommandArgument, SlashCommandNamedArgument } from '../../slash-commands/SlashCommandArgument.js'; import { debounce_timeout } from '../../constants.js'; import { SlashCommandEnumValue, enumTypes } from '../../slash-commands/SlashCommandEnumValue.js'; +import { enumIcons } from '../../slash-commands/SlashCommandCommonEnumsProvider.js'; export { talkingAnimation }; const UPDATE_INTERVAL = 1000; @@ -1216,7 +1217,7 @@ $(document).ready(function () { description: 'character voice name', typeList: [ARGUMENT_TYPE.STRING], isRequired: false, - enumProvider: () => Object.keys(voiceMap).map(voiceName => new SlashCommandEnumValue(voiceName, null, enumTypes.enum, voiceName)), + enumProvider: () => Object.keys(voiceMap).map(voiceName => new SlashCommandEnumValue(voiceName, null, enumTypes.enum, enumIcons.voice)), }), ], unnamedArgumentList: [ diff --git a/public/scripts/slash-commands/SlashCommandCommonEnumsProvider.js b/public/scripts/slash-commands/SlashCommandCommonEnumsProvider.js index 87816db90..683f28ffa 100644 --- a/public/scripts/slash-commands/SlashCommandCommonEnumsProvider.js +++ b/public/scripts/slash-commands/SlashCommandCommonEnumsProvider.js @@ -31,6 +31,7 @@ export const enumIcons = { preset: '⚙️', file: '📄', message: '💬', + voice: '🎤', true: '✔️', false: '❌',