-
Notifications
You must be signed in to change notification settings - Fork 18
/
config.js
31 lines (23 loc) · 938 Bytes
/
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
module.exports = {
client: {
token: '',
},
dashboard: {
url: 'http://localhost',
port: 3000,
secret: '',
},
autoRedirect: false,
supportGuild: {
enabled: true,
urlCode: '5cGSYV8ZZj',
}
};
/*
How to get theses informations ?
First, authenticate yourself on the page https://discord.com/developers/applications
If you don't have a bot yet, create one by clicking on "New application", fill in the requested information and in the bot tab don't forget to click on "Add bot".
The token of your bot is in the bot tab, by default you can't read it but there is a button to copy it.
The "secret client" is in the general information tab, as for the token there is a button to copy it.
If you develop locally you can leave the default values for the dashboard part, otherwise I guess you have enough knowledge to host a project online.
*/