using System.Text;
namespace RegexBot.Modules.ModLogs;
///
/// Logs certain events of note to a database for moderators to keep track of user behavior.
/// Makes use of a helper class, .
///
[RegexbotModule]
internal partial class ModLogs : RegexbotModule {
// TODO consider resurrecting 2.x idea of logging actions to db, making it searchable?
public ModLogs(RegexbotClient bot) : base(bot) {
// TODO missing logging features: joins, leaves, bans, kicks, user edits (nick/username/discr)
DiscordClient.MessageDeleted += HandleDelete;
bot.SharedEventReceived += FilterIncomingEvents;
}
public override Task