forked from SudhanPlayz/Discord-MusicBot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
botconfig.js
45 lines (43 loc) · 3.18 KB
/
botconfig.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
43
44
45
module.exports = {
Admins: ["UserID", "UserID"], // Admins of the bot, I don't know what this do. -Darren.
ExpressServer: true, // If you wanted to make the website run or not
DefaultPrefix: process.env.Prefix || ">", // Default prefix, Server Admins can change the prefix
Port: 3000, //Which port website gonna be hosted
SupportServer: "https://discord.gg/sbySMS7m3v", // Support Server Link
Token: process.env.Token || "", // Discord Bot Token
ClientID: process.env.Discord_ClientID || "", // Discord Client ID
ClientSecret: process.env.Discord_ClientSecret || "", // Discord Client Secret
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 9007199254740991 (JS Integer limit. If you do set it to that, you're a monster.)
CallbackURL: "/api/callback", // Discord API Callback url. Do not touch it if you don't know what you are doing. All you need to change for website to work is on line 20.
"24/7": false, // Make the bot stays in VC 24/7 (when you reboot the bot will **not** automatically rejoin.)
CookieSecret: "Pikachu is cute", // A cookie for you, cookie for me. make sure you change this value!
IconURL:
"https://raw.githubusercontent.com/SudhanPlayz/Discord-MusicBot/master/assets/logo.gif", // URL of all embed author icons | Dont edit unless you dont need that Music CD Spining
EmbedColor: "RANDOM", // Color of most embeds | Custom Hex value are supported. I.e: "#36393F"
Permissions: 2205281600, // Bot Inviting Permissions
Website: process.env.Website || "https://example.com", // Website where it is hosted at includes http or https || Use "0.0.0.0" if you using Heroku || Do not include /api/callback. Just the website url. I.e. "https://foo.bar"
// If you get invalid oauth, make sure on the discord developer page you set the oauth url to something like: https://example.com/api/callback.
Presence: {
status: "online", // You can show online, idle, and dnd
name: "Music", // The message shown
type: "LISTENING", // PLAYING, WATCHING, LISTENING, STREAMING
},
// You need a lavalink server for this bot to work!!!!
// Lavalink server; public lavalink -> https://lavalink-list.darrennathanael.com/; create one yourself -> https://darrennathanael.com/post/how-to-lavalink
Lavalink: {
id: "Main", //- Used for indentifier. You can set this to whatever you want.
host: "", //- The host name or IP of the lavalink server.
port: 80, // The port that lavalink is listening to. This must be a number!
pass: "", //- The password of the lavalink server.
secure: false, // Set this to true if the lavalink uses SSL. if not set it to false.
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.
},
// Spotify Integration, allows you to enter a spotify link.
Spotify: {
ClientID: process.env.Spotify_ClientID || "", // Spotify Client ID
ClientSecret: process.env.Spotify_ClientSecret || "", // Spotify Client Secret
},
};