-
-
Notifications
You must be signed in to change notification settings - Fork 37
/
AutomodTriggerType.cs
45 lines (38 loc) · 1011 Bytes
/
AutomodTriggerType.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
using DisCatSharp.Attributes;
namespace DisCatSharp.Enums;
/// <summary>
/// Represents a rule's content type.
/// </summary>
public enum AutomodTriggerType
{
/// <summary>
/// Checks if content contains words from a user defined list of keywords.
/// Max. 3 per guild.
/// </summary>
Keyword = 1,
/// <summary>
/// Checks if content contains a suspicious link.
/// </summary>
[DiscordDeprecated]
SuspiciousLinkFilter = 2,
/// <summary>
/// Checks if content represents generic spam.
/// Max. 1 per guild.
/// </summary>
Spam = 3,
/// <summary>
/// Checks if content contains words from internal pre-defined wordsets.
/// Max. 1 per guild.
/// </summary>
KeywordPreset = 4,
/// <summary>
/// Checks if content contains more unique mentions than allowed.
/// Max. 1 per guild.
/// </summary>
MentionSpam = 5,
/// <summary>
/// Flag messages that may break server rules using OpenAI technology.
/// </summary>
[DiscordInExperiment, DiscordUnreleased]
EnforceServerRules = 7
}