-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.js
83 lines (75 loc) · 3.07 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
module.exports = {
// General Configs
prefix: `$`, //Add a prefix for message commands, or leave it blank to disable message commands.
token: ``, //bot token
ownerID: ``, //your id (cannot add multiple)
guildId: ``, // Enter a guild ID for guild-specific commands, or leave it blank to load slash commands globally.
developerTeam: {
memberIDs: [], // add the user IDs of the developer team (can add multiple)
roleIDs: [], // add the role IDs of the developer team (can add multiple)
},
// Bot Embed Configs
EmbedConfig: {
embedcolor: `#9b59b6`, //default embed color
},
// Cooldown Configs
CooldownConfig: {
defaultCooldown: 5, //default cooldown for commands (it's 5 seconds here)
autoDeleteCooldownMsg: 10 //auto delete the response which the bot says "you're on cooldown" (it's 10 seconds here)
},
// Text Config (Used in help (command))
TextConfig: {
color: 'white', //white, teal, pink, light_blue, gold, yellowish_green, red, dark_gray (leave blank for normal)
background_color: '', //cream_white, light_gray60, blurple, light_gray55, gray45, gray40, rust_brown, blueish_black (leave blank for normal)
bold: true, // Toggle bold text color
underline: false, // Toggle bold text color
},
// Responses Config
ResponsesConfig: {
botowneronly: {
reply: `This command is restricted to the bot owner.`,
autoDelete: 10, // in seconds
shouldAutoDelete: true
},
serverowneronly: {
reply: `This command is restricted to the server owner.`,
autoDelete: 10, // in seconds
shouldAutoDelete: true
},
developerteamonly: {
reply: `This command is restricted to the developer team.`,
autoDelete: 10, // in seconds
shouldAutoDelete: true
},
nsfw: {
reply: `This command can only be used in NSFW channels.`,
autoDelete: 10, // in seconds
shouldAutoDelete: true
},
memberpermissions: {
reply: `You don't have the necessary permissions to use this command.`,
autoDelete: 10, // in seconds
shouldAutoDelete: true
},
botpermissions: {
reply: `I don't have the necessary permissions to execute this command.`,
autoDelete: 10, // in seconds
shouldAutoDelete: true
},
requiredroles: {
reply: `You don't have the required role(s) to use this command.`,
autoDelete: 10, // in seconds
shouldAutoDelete: true
},
requiredchannels: {
reply: `This command can only be used in specific channels.`,
autoDelete: 10, // in seconds
shouldAutoDelete: true
},
alloweduserids: {
reply: `You are not allowed to use this command.`,
autoDelete: 10, // in seconds
shouldAutoDelete: true
}
}
}