mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 09:48:26 -04:00
18 lines
496 B
C#
18 lines
496 B
C#
#nullable disable
|
|
namespace NadekoBot.Db.Models;
|
|
|
|
|
|
public class AntiRaidSetting : DbEntity
|
|
{
|
|
public int GuildConfigId { get; set; }
|
|
|
|
public int UserThreshold { get; set; }
|
|
public int Seconds { get; set; }
|
|
public PunishmentAction Action { get; set; }
|
|
|
|
/// <summary>
|
|
/// Duration of the punishment, in minutes. This works only for supported Actions, like:
|
|
/// Mute, Chatmute, Voicemute, etc...
|
|
/// </summary>
|
|
public int PunishDuration { get; set; }
|
|
} |