using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Discord.WebSocket;
using Newtonsoft.Json.Linq;
using Noikoio.RegexBot.ConfigItem;
namespace Noikoio.RegexBot.Module.ModLogs
{
///
/// Logs certain events of note to a database for moderators to keep track of user behavior.
/// Makes use of a helper class, .
///
class ModLogs : BotModule
{
public override string Name => "ModLogs";
private readonly MessageCache _msgCacheInstance;
public ModLogs(DiscordSocketClient client) : base(client)
{
// Do nothing if database unavailable. The user will be informed by ProcessConfiguration.
if (!RegexBot.Config.DatabaseAvailable) return;
_msgCacheInstance = new MessageCache(client, Log, GetConfig);
//throw new NotImplementedException();
}
[ConfigSection("ModLogs")]
public override async Task