Oops, optout doesn't really work. Added a TODO to fix :)
Signed-off-by: Nathan <nat@natfan.io>
This commit is contained in:
parent
7a11a3512f
commit
86dc3bbb0e
@ -34,6 +34,7 @@ public abstract class TtsMeCommand {
|
|||||||
case "set" when voices.IsVoice(username, voice): return $"ttsme voice for '{username}' is already set to '{voice}'.";
|
case "set" when voices.IsVoice(username, voice): return $"ttsme voice for '{username}' is already set to '{voice}'.";
|
||||||
case "set": voices.SetVoice(username, voice); return $"Changing ttsme for {username} to '{voice}'";
|
case "set": voices.SetVoice(username, voice); return $"Changing ttsme for {username} to '{voice}'";
|
||||||
|
|
||||||
|
// TODO: Get OptOut working so that it doesn't opt you back in when next chatting
|
||||||
case "optout": voices.RemoveVoice(username); return $"Opting {username} out of ttsme, their voice will no longer be heard by the masses (and me!)";
|
case "optout": voices.RemoveVoice(username); return $"Opting {username} out of ttsme, their voice will no longer be heard by the masses (and me!)";
|
||||||
|
|
||||||
default: return UsageMessage;
|
default: return UsageMessage;
|
||||||
|
Loading…
Reference in New Issue
Block a user