Library for Bot Designer List API
npm i bdl.js
const Discord = require('discord.js');
const client = new Discord.Client();
// import bdl.js
const { connectBdlBot } = require('bdl.js');
client.on('ready', () => {
console.log(`Logged in as ${client.user.tag}!`);
});
client.on('message', msg => {
if (msg.content === 'ping') {
msg.reply('Pong!');
}
});
client.login('<Discord Token>');
// Connects to Bot Designer List
connectBdlBot("<Bot Designer List Token>", client)
- Go here https://botdesignerlist.com/account
- Click
Settings
button under your bot - Press
Copy token