dellosmusic
Version:
Dellos Music Bot - Discord Music Bot
66 lines (60 loc) • 1.68 kB
JavaScript
const { Client, Intents } = require("discord.js");
const DiscordMusicBot = require("./structures/DiscordMusicBot");
const intents = [
Intents.FLAGS.GUILDS,
Intents.FLAGS.GUILD_MESSAGES,
Intents.FLAGS.GUILD_MEMBERS,
];
const botconfig = {
Admins: ["657629898961322048", "125258977373192192", "767984871007059998"],
ExpressServer: true,
DefaultPrefix: "m!",
Port: 3000,
SupportServer: "https://discord.gg/uHnwTYfVNq",
Token: "ODkxMjU3MzIxMjU3MzI4NjUw.GtK677.OoylqC-9ywIWvDk83gp33t6x3WE7G4EGQsMYK8",
ClientID: "891257321257328650",
ClientSecret: "WhC7tJXGlZki7jbNW7pZX5qFvbuSUbUq",
Scopes: ["identify", "guilds", "applications.commands"],
ServerDeafen: true,
DefaultVolume: 100,
CallbackURL: "/api/callback",
"24/7": true,
CookieSecret: "Verko is Best",
IconURL: "",
EmbedColor: "RANDOM",
Permissions: 2205281600,
Website: "https://dellos.com",
Presence: {
status: "online",
activities: [
{
name: "Music",
type: "LISTENING",
},
],
},
Lavalink: {
id: "Main",
host: "eu-lavalink.lexnet.cc",
port: 443,
pass: "lexn3tl@val!nk",
secure: true,
retryAmount: 200,
retryDelay: 40,
},
Spotify: {
ClientID: "1d5d0ae171fe43eb9876409e8e9c3fba",
ClientSecret: "b6d6239a8271474aba0cc1902d0e3fec",
},
endpoint: "de1.bot-hosting.net:7578",
};
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;