mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-10 17:28:27 -04:00
Split dangerous commands into cleanup commands for each module they belong to
This commit is contained in:
13
src/Nadeko.Bot.Db/Models/anti/AntiSpamSetting.cs
Normal file
13
src/Nadeko.Bot.Db/Models/anti/AntiSpamSetting.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
namespace NadekoBot.Services.Database.Models;
|
||||
|
||||
public class AntiSpamSetting : DbEntity
|
||||
{
|
||||
public int GuildConfigId { get; set; }
|
||||
public GuildConfig GuildConfig { get; set; }
|
||||
|
||||
public PunishmentAction Action { get; set; }
|
||||
public int MessageThreshold { get; set; } = 3;
|
||||
public int MuteTime { get; set; }
|
||||
public ulong? RoleId { get; set; }
|
||||
public HashSet<AntiSpamIgnore> IgnoredChannels { get; set; } = new();
|
||||
}
|
Reference in New Issue
Block a user