You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
486 B
17 lines
486 B
using DiscordChatExporter.Core.Discord.Data;
|
|
using DiscordChatExporter.Core.Exporting.Filtering.Parsing;
|
|
using Superpower;
|
|
|
|
namespace DiscordChatExporter.Core.Exporting.Filtering;
|
|
|
|
public abstract partial class MessageFilter
|
|
{
|
|
public abstract bool IsMatch(Message message);
|
|
}
|
|
|
|
public partial class MessageFilter
|
|
{
|
|
public static MessageFilter Null { get; } = new NullMessageFilter();
|
|
|
|
public static MessageFilter Parse(string value) => FilterGrammar.Filter.Parse(value);
|
|
} |