Answers for "node.js discord dashboard"

-1

node.js discord dashboard

// Discord client setup
const client = new Discord.Client();
// dotenv
require('dotenv').config();
// Dashboard package
const dashboard = require("discord-bot-dashboard");

// ...
client.on('ready', () => {

  dashboard.run(client, {
    port: your_open_port, 
    clientSecret: your_client_secrect, 
    redirectURI: your_redirect_uri
  });
  //...

});
//...
Posted by: Guest on December-01-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language