From 77465598c14cd51cb76609ab380c99e013d02969 Mon Sep 17 00:00:00 2001 From: Tom Date: Tue, 22 Oct 2024 07:49:09 +0000 Subject: [PATCH] Fixed tts add & delete commands --- Chat/Commands/TTSCommand.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Chat/Commands/TTSCommand.cs b/Chat/Commands/TTSCommand.cs index 68b68a6..9b6ce2b 100644 --- a/Chat/Commands/TTSCommand.cs +++ b/Chat/Commands/TTSCommand.cs @@ -36,13 +36,13 @@ namespace TwitchChatTTS.Chat.Commands { b.CreateStaticInputParameter("add", b => { - b.CreateVoiceNameParameter("voiceName", false) + b.CreateUnvalidatedParameter("voiceName") .CreateCommand(new AddTTSVoiceCommand(_user, _logger)); }) .AddAlias("insert", "add") .CreateStaticInputParameter("delete", b => { - b.CreateVoiceNameParameter("voiceName", true) + b.CreateVoiceNameParameter("voiceName", false) .CreateCommand(new DeleteTTSVoiceCommand(_user, _logger)); }) .AddAlias("del", "delete")