using Discord.WebSocket;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Noikoio.RegexBot.Feature.AutoMod
{
///
/// Implements per-message regex matching and executes customizable responses.
/// The name RegexBot comes from the existence of this feature.
///
///
/// Strictly for use as a moderation tool only. Triggers that simply reply to messages
/// should be implemented using .
///
class AutoMod : BotFeature
{
public override string Name => "AutoMod";
public AutoMod(DiscordSocketClient client) : base(client)
{
client.MessageReceived += CMessageReceived;
client.MessageUpdated += CMessageUpdated;
}
[ConfigSection("automod")]
public override async Task