forked from SudhanPlayz/Discord-MusicBot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.js
42 lines (42 loc) · 2.21 KB
/
config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
module.exports = {
cmdPerPage: 10, //Number of commands per page of help command
adminId: "UserId", // Admin of the bot
token: process.env.token || "", //Bot's Token
clientId: process.env.clientId || "", //ID of the bot
clientSecret: process.env.clientSecret || "", //Client Secret of the bot
port: 4200, //Port of the API and Dashboard
scopes: ["identify", "guilds", "applications.commands"], //Discord OAuth2 Scopes
serverDeafen: true, //If you want bot to stay deafened
defaultVolume: 100, //Sets the default volume of the bot, You can change this number anywhere from 1 to 100
supportServer: "https://discord.gg/sbySMS7m3v", //Support Server Link
Issues: "https://github.com/SudhanPlayz/Discord-MusicBot/issues", //Bug Report Link
permissions: 277083450689, //Bot Inviting Permissions
disconnectTime: 30000, //How long should the bot wait before disconnecting from the voice channel. in miliseconds. set to 1 for instant disconnect.
alwaysplay: true, // when set to true music will always play no matter if theres no one in voice channel.
debug: false, //Debug mode
// Lavalink server; optional public lavalink -> https://lavalink-list.darrennathanael.com/
// The default one should work fine.
nodes: [
{
identifier: "Main Node", //- Used for indentifier in stats commands.
host: "lavalink.darrenofficial.com",
port: 80,
password: "hellothere",
retryAmount: 200, //- The amount of times to retry connecting to the node if connection got dropped.
retryDelay: 40, //- Delay between reconnect attempts if connection is lost.
secure: false, //- Can be either true or false. Only use true if ssl is enabled!
},
],
embedColor: "#2f3136", //Color of the embeds, hex supported
presence: {
//PresenceData object | https://discord.js.org/#/docs/main/stable/typedef/PresenceData
status: "online", // You can have online, idle, and dnd(invisible too but it make people think the bot is offline)
activities: [
{
name: "Music", //Status Text
type: "LISTENING", // PLAYING, WATCHING, LISTENING, STREAMING
},
],
},
iconURL: "https://cdn.darrennathanael.com/icons/spinning_disk.gif", //This icon will be in every embed's author field
};