Example #1
0
 public UnpunishService(DiscordSocketClient c, BlacklistService b, LogService l, RecordService r, CoreConfig config)
 {
     _client    = c;
     _blacklist = b;
     _log       = l;
     _records   = r;
     _config    = config;
     Bans       = new List <TempBan>();
     Mutes      = new List <Mute>();
 }
Example #2
0
 public SlowmodeService(DiscordSocketClient c, LogService l, UnpunishService u, RecordService r, CoreConfig config)
 {
     _client = c;
     _client.MessageReceived += _client_MessageReceived_Slowmode;
     _log         = l;
     _unpunish    = u;
     _records     = r;
     _config      = config;
     _lastMessage = new Dictionary <ulong, Dictionary <SocketTextChannel, DateTime> >();
     Intervals    = new Dictionary <SocketTextChannel, int>();
 }