dellosmusic
Version:
Dellos Music Bot - Discord Music Bot
25 lines (19 loc) • 572 B
JavaScript
require("dotenv").config();
const { Intents } = require("discord.js");
const DiscordMusicBot = require("./structures/DiscordMusicBot");
const intents = [
Intents.FLAGS.GUILDS,
Intents.FLAGS.GUILD_MESSAGES,
Intents.FLAGS.GUILD_MEMBERS,
];
const botconfig = require("./botconfig");
const client = new DiscordMusicBot({
intents: intents,
token: botconfig.Token,
prefix: botconfig.DefaultPrefix,
adminIDs: botconfig.Admins,
lavalink: botconfig.Lavalink,
});
client.RegisterSlashCommands();
client.build();
module.exports = client;