hermes-client/Chat/Commands/Parameters/UnvalidatedParameter.cs

16 lines
411 B
C#
Raw Normal View History

using TwitchChatTTS.Twitch.Socket.Messages;
namespace TwitchChatTTS.Chat.Commands.Parameters
{
public class UnvalidatedParameter : CommandParameter
{
public UnvalidatedParameter(string name, bool optional = false) : base(name, optional)
{
}
public override bool Validate(string value, TwitchChatFragment[] fragments)
{
return true;
}
}
}