-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.js
101 lines (101 loc) · 3.09 KB
/
config.js
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
module.exports = [
{
run: require("./checks/diff.js"),
name: "diffCheck",
minMessages: 2,
threshold: {
warning: 3,
punish: 6
},
warningMessage: "Please stop repeating yourself! You will be punished if you continue."
}, {
run: require("./checks/vocab.js"),
name: "vocabCheck",
minMessages: 2,
threshold: {
warning: 4,
punish: 7
},
warningMessage: "Please stop spamming! You will be punished if you continue."
}, {
run: require("./checks/bot.js"),
name: "botCheck",
minMessages: 1,
lts: true,
ttl: 2000,
threshold: {
warning: 4,
punish: 8
},
warningMessage: "Please leave, unauthorized bots are not allowed on the server!"
}, {
run: require("./checks/tag.js"),
name: "tagCheck",
minMessages: 1,
threshold: {
warning: 1,
punish: 2
},
warningMessage: "Please use less than 4 tags in each message! You will be punished if you continue"
}, {
run: require("./checks/timeTag.js"),
name: "timeTagCheck",
minMessages: 2,
lts: true,
ttl: 1000 * 60,
threshold: {
warning: 1,
punish: 2
},
warningMessage: "Please stop spam tagging (more than 4 tags / minute)! You will be punished if you continue."
}, {
run: require("./checks/emoji.js"),
name: "emojiCheck",
minMessages: 1,
threshold: {
warning: 1,
punish: 3
},
warningMessage: "Please stop emoji spamming. This can cause significant lag and you will be punished if you continue."
}, {
run: require("./checks/timeEmoji.js"),
name: "timeEmojiCheck",
lts: true,
ttl: 1000 * 60,
minMessages: 1,
threshold: {
warning: 1,
punish: 2
},
warningMessage: "Please stop emoji spamming. This can cause significant lag and you will be punished if you continue."
}, {
run: require("./checks/fastTalk.js"),
name: "fastTalkCheck",
minMessages: 2,
threshold: {
warning: 5,
punish: 10
},
warningMessage: "Please slowdown (1 message every second). You will be punished if you continue."
}, {
run: require("./checks/ai.js"),
name: "aiCheck",
lts: true,
ttl: 1000 * 60 * 10,
minMessages: 1,
threshold: {
warning: 1,
punish: 2
},
warningMessage: "Please stop spamming! You will be punished if you continue."
}, {
run: require("./checks/embed.js"),
name: "embedCheck",
minMessages: 1,
threshold: {
warning: 3,
punish: 6
},
warningMessage: "Please stop spamming links/embeds! You will be punished if you continue"
}
];