-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfig.js
37 lines (30 loc) · 1.28 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
const privateConfig = require('./config.private.js');
module.exports = {
// Your bot name. Typically, this is your bot's username without the discriminator.
// i.e: if your bot's username is MemeBot#0420, then this option would be MemeBot.
name: "Nix",
// The bot's command prefix. The bot will recognize as command any message that begins with it.
// i.e: "-nix foo" will trigger the command "foo",
// whereas "Nix foo" will do nothing at all.
prefix: "!",
separator: '',
// Your bot's user token. If you don't know what that is, go here:
// https://discordapp.com/developers/applications/me
// Then create a new application and grab your token.
token: privateConfig.token,
spyUserId: privateConfig.spyUserId,
// If this option is enabled, the bot will delete the message that triggered it, and its own
// response, after the specified amount of time has passed.
// Enable this if you don't want your channel to be flooded with bot messages.
// ATTENTION! In order for this to work, you need to give your bot the following permission:
// MANAGE_MESSAGES - 0x00002000
// More info: https://discordapp.com/developers/docs/topics/permissions
deleteAfterReply: {
enabled: false,
time: 10000, // In milliseconds
},
regions: [
'NA',
'EU'
]
};