node js discord dashboard

Solutions on MaxInterview for node js discord dashboard by the best coders in the world

showing results for - "node js discord dashboard"
Alessio
18 Sep 2016
1// Discord client setup
2const client = new Discord.Client();
3// dotenv
4require('dotenv').config();
5// Dashboard package
6const dashboard = require("discord-bot-dashboard");
7
8// ...
9client.on('ready', () => {
10
11  dashboard.run(client, {
12    port: your_open_port, 
13    clientSecret: your_client_secrect, 
14    redirectURI: your_redirect_uri
15  });
16  //...
17
18});
19//...