using Discord.WebSocket;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Noikoio.RegexBot.Module.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 : BotModule
{
public AutoMod(DiscordSocketClient client) : base(client)
{
client.MessageReceived += CMessageReceived;
client.MessageUpdated += CMessageUpdated;
}
public override async Task