-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy path_config.js
65 lines (64 loc) · 2.02 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
const { SECOND, HOUR } = require('./helpers/constants');
module.exports = {
development: true,
prefix: '!',
token: 'YOUR_BOTS_TOKEN_HERE',
// Image source website base
website: 'https://LINK.TO.WEBSITE/',
// Wiki base link
wikiWebsite: 'https://LINK.TO.WIKI/',
// Bot owner ID, used for eval and other commands
ownerID: 'YOUR_DISCORD_USER_ID (optional)',
// Channel where the backup database should be sent
backupChannelID: 'DISCORD_BACKUP_CHANNEL_ID (optional)',
quizChannelID: 'DISCORD_QUIZ_CHANNEL_ID (optional)',
modLogChannelID: 'DISCORD_MOD_LOG_CHANNEL_ID (optional)',
// Specific roles in the server
mutedRoleID: '758167963294629898',
externalScriptsRoleID: '761015248856809493',
autoReminderRoleID: '871624019005292564',
// Roles that get bonus coins (percentage gain)
bonusRoles: {
'751979566280605728': 0.2, // Poké Squad
'736262806306947215': 0.5, // Server Booster
},
notificationRoles: [
{
id: '787144169176825856',
name: 'Game Updates',
emoji: '<:Pokeball:662909508284055553>',
},
{
id: '787144107817959444',
name: 'Bot Updates',
emoji: '<:money:751765172523106377>',
},
{
id: '788190728027242496',
name: 'Happy Hour',
emoji: '<:marsh_badge:785737862280249364>',
},
{
id: '871624019005292564',
name: 'Auto Reminder',
emoji: '<:star_ping:871628714386006056>',
},
],
serverIcons: {
money: '<:money:751765172523106377>',
kabuto: '<:Kabuto:970201411021307925>',
},
spamDetection: {
ignoreChannels: ['bot-coins'], // channel names or IDs
spam: {
amount: 4, // how many messages within timeframe count as spam (0 to disable)
time: 3 * SECOND, // message count within x ms
mute: 1 * HOUR, // how long to mute the user in ms
},
dupe: {
amount: 3, // how many duplicate messages within timeframe count as spam (0 to disable)
time: 30 * SECOND, // message count within x ms
mute: 1 * HOUR, // how long to mute the user in ms
},
},
};