using System.Collections.Concurrent; using Discord; using NadekoBot.Common.Collections; using NadekoBot.Services.Database.Models; namespace NadekoBot.Modules.Administration.Common { public enum ProtectionType { Raiding, Spamming, } public class AntiRaidStats { public AntiRaidSetting AntiRaidSettings { get; set; } public int UsersCount { get; set; } public ConcurrentHashSet RaidUsers { get; set; } = new ConcurrentHashSet(); } public class AntiSpamStats { public AntiSpamSetting AntiSpamSettings { get; set; } public ConcurrentDictionary UserStats { get; set; } = new ConcurrentDictionary(); } }