2017-11-14 23:32:18 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Text;
|
2017-11-17 18:49:37 +00:00
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using Discord.WebSocket;
|
|
|
|
|
using Newtonsoft.Json.Linq;
|
2017-11-14 23:32:18 +00:00
|
|
|
|
|
|
|
|
|
namespace Noikoio.RegexBot.Module.ModLogs
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
2017-11-17 18:49:37 +00:00
|
|
|
|
/// Listens for Discord-based events and writes them to the log (database).
|
|
|
|
|
/// Additionally writes certain messages to a designated logging channel if configured.
|
2017-11-14 23:32:18 +00:00
|
|
|
|
/// </summary>
|
2017-11-17 18:49:37 +00:00
|
|
|
|
class EventListener : BotModule
|
2017-11-14 23:32:18 +00:00
|
|
|
|
{
|
2017-11-17 18:49:37 +00:00
|
|
|
|
public override string Name => "ModLogs";
|
|
|
|
|
public EventListener(DiscordSocketClient client) : base(client)
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[ConfigSection("modlogs")]
|
|
|
|
|
public override Task<object> ProcessConfiguration(JToken configSection)
|
|
|
|
|
{
|
|
|
|
|
throw new NotImplementedException();
|
|
|
|
|
}
|
2017-11-14 23:32:18 +00:00
|
|
|
|
}
|
|
|
|
|
}
|