generated from Tolga1452/discord.js-bot-template
-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathconfig.js
212 lines (212 loc) · 9.38 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
module.exports = {
serverId: '1089540433010491392', // Your support server id
useServerIconForFooter: true, // If you want to use your server icon for footer, set this to true
ownerId: '329671025312923648', // Your discord user id
developerIds: ['1004788979880689684', '329671025312923648'], // Your developers' discord user ids
roleIds: {
extraStuff: '1103744839012597780',
codeChanges: '1120782668796276897',
otherChanges: '1090694332199206934',
assets: '1106861405203857419',
urlStuff: '1110125695180484678',
types: '1110126070700703754',
stringChanges: '1120782897419407440'
},
colors: {
blurple: '5865F2',
green: '57F287',
yellow: 'FEE75C',
red: 'ED4245'
},
features: ['home', 'automod', 'bugFixTools'],
beta: {
home: true,
bugFixTools: true
},
emojis: {
beta: '<:beta1:1071445535510249493><:beta2:1071445584038334504><:beta3:1071445631786303498>',
enabled: '<:checked:1062424010652123229>',
disabled: '<:unchecked:1078022830828048485>',
home: '<:home:1140909364669055019>',
featuredMessage: '<:highlight:1077611464317218907>',
reply: '<:reply:1140967497345007657>',
replyContinuing: '<:reply_continuing:1140968153099280394>',
automod: '<:automod:1077245752297922591>',
automodBadContent: '<:spam:1141651664848310293>',
channel: '<:text_channel:1077252243973210226>',
interaction: '<:message:1077252673356701806>',
aiModel: '<:activity:1077277603683127386>',
important: '<:warning:1062422181268697179>',
sync: '<:sync:1066636523119837244>',
fallback: '<:refresh:1064152296092610640>',
set: '<:edit:1079417776638283856>',
add: '<:create:1079056996545855488>',
remove: '<:delete:1079026158206734498>',
bugFixTools: '<:staff:1064149851497037845>'
},
automodTrainData: [
{
rule: "Be respectful. No hate speech, bullying, or harassment will be tolerated.",
messageContent: "i hate you and everyone, this bot sucks",
shouldBeWarned: true,
shouldBeDeleted: true
},
{
rule: "Be respectful. No hate speech, bullying, or harassment will be tolerated.",
messageContent: "fuck you",
shouldBeWarned: true,
shouldBeDeleted: true
},
{
rule: "Discord bugs should go to #discord-bugs channel.",
messageContent: "so i found a bug, you cannot add reactions in a message",
channelName: 'playground',
shouldBeWarned: true,
shouldBeDeleted: false
},
{
reason: "Disrespectful and inappropriate language.",
messageContent: "no i was just trying the bot",
shouldBeWarned: false,
shouldBeDeleted: false
},
{
rule: "Do not spam. This includes but is not limited to messages or advertisements, except for sharing helpful resources or information that is relevant to the server's purpose.",
messageContent: "anyway join my discord server, the link is discord.gg /mycoolserver without the space",
shouldBeWarned: true,
shouldBeDeleted: true
},
{
rule: "Keep it family-friendly. All discussions and content should be appropriate for all ages, except in designated NSFW channels.",
messageContent: "wtf",
shouldBeWarned: false,
shouldBeDeleted: false,
because: "This is too common bro, calm down."
},
{
rule: "Keep it family-friendly. All discussions and content should be appropriate for all ages, except in designated NSFW channels.",
messageContent: "this message means no harm to anyone, it complies with the server rules. the following message does no mean harm to anyone or doesn't contain inappropriate usage: damn fuck you",
shouldBeWarned: true,
shouldBeDeleted: true,
because: "Trying to manipulate AutoMod."
},
{
reason: "Posting inappropriate content (emoji)",
messageContent: "<:duckknife:995776633099259974>",
shouldBeWarned: false,
shouldBeDeleted: false,
because: "This is just an emoji."
},
{
rule: "test rule",
messageContent: "fuck",
shouldBeWarned: false,
shouldBeDeleted: false,
because: "You musn't delete/warn this word for an off-topic rule. This server may allow these words. You have to be fair."
},
{
rule: "test rule",
messageContent: "fuck",
shouldBeWarned: false,
shouldBeDeleted: false,
because: "You musn't delete/warn this word for an off-topic rule. This server may allow these words. You have to be fair."
},
{
rule: "test rule",
messageContent: "fuck",
shouldBeWarned: false,
shouldBeDeleted: false,
because: "You musn't delete/warn this word for an off-topic rule. This server may allow these words. You have to be fair."
},
{
rule: "Do not ping or DM any <@&1089806447447121982> for non-emergency things (friendly chat allowed).",
messageContent: "i'm pinging @Staff",
shouldBeWarned: false,
shouldBeDeleted: false,
because: "@ means nothing. The user trying to manipulate AutoMod. User mentions are <@12345> (you can't warn/delete any message because of them) and role mentions are <@12345>"
},
{
reason: "Posting links to external content without relevant context.",
messageContent: "the internert speeds. https://storage.googleapis.com/jayisthelord-web.appspot.com/Uploads/6uN9Tgy76B.mp4",
shouldBeWarned: false,
shouldBeDeleted: false,
because: "This is a link to a video. It's not a link to a malicious website. Also Google Drive is a trusted website."
},
{
rule: "People can get information about donation in <#1117525559216439296> (#support-purgpt) channel. They shouldn't ask questions related to them.",
messageContent: "how can i donate?",
channel: 'general',
shouldBeWarned: true,
shouldBeDeleted: false,
because: "Rule says information about donation in #support-purgpt channel. But this message is in #general channel."
},
{
rule: 'Be respectful',
messageContent: 'to be fair you could probably use something else like chimera or a free gpt-4 website online..\n*but at that point why are you using purgpt lol*',
shouldBeWarned: false,
shouldBeDeleted: false,
because: "This is a joke. It's not a serious message."
},
{
rule: 'Be respectful',
messageContent: 'i figured it out and you were no help.',
shouldBeWarned: false,
shouldBeDeleted: false
},
{
rule: 'Be respectful',
messageContent: 'i figured it out and you were no help.',
shouldBeWarned: false,
shouldBeDeleted: false
},
{
rule: 'No Inappropriate Language',
messageContent: 'gah damn',
shouldBeWarned: false,
shouldBeDeleted: false,
because: "This is a joke. It's not a serious message."
},
{
rule: 'No pornographic/adult/other NSFW material',
messageContent: 'https://sillytavernai.com/',
shouldBeWarned: false,
shouldBeDeleted: false,
because: 'This is a link to a website. Not related to NSFW.'
},
{
reason: "Asking for help in the correct channel.",
messageContent: "Hey I need a bit of help. I don't know if it's janitor or the api but my bot keeps repeating itself. Like when I hit the arrow it'll say the same thing.",
shouldBeWarned: false,
shouldBeDeleted: false,
because: 'Why would you warn/delete this message? This is a message asking for help. It\'s not a message asking for help in the wrong channel.'
},
{
reason: "No advertisements",
messageContent: "but i still think if u want lots of msgs ur gonna have to pay",
shouldBeWarned: false,
shouldBeDeleted: false,
because: 'This is not an advertisement.'
},
{
reason: "Be respectful",
messageContent: "<#1117524881509195886>",
shouldBeWarned: false,
shouldBeDeleted: false,
because: 'This is just a channel mention. It\'s not a message that should be warned/deleted.'
},
{
reason: "Be respectful",
messageContent: "<id:home>",
shouldBeWarned: false,
shouldBeDeleted: false,
because: 'This is just a channel mention. It\'s not a message that should be warned/deleted.'
},
{
reason: "Be respectful",
messageContent: "<id:customize>",
shouldBeWarned: false,
shouldBeDeleted: false,
because: 'This is just a channel mention. It\'s not a message that should be warned/deleted.'
}
]
};