-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.js
46 lines (41 loc) · 1.28 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
43
44
45
46
module.exports = {
// add this to hide Token and userid from others.
TOKEN: process.env.TOKEN, // give token from environment
ownerID: process.env.DISCORD, // get owner ID from environment
botInvite:
"https://discord.com/api/oauth2/authorize?client_id=942280522749608017&permissions=8&scope=bot", // discord bot invite.
status: " Parsa Dj ",
commandsDir: "./commands",
opt: {
DJ: {
commands: [
"back",
"clear",
"filter",
"loop",
"pause",
"resume",
"skip",
"stop",
"volume",
],
},
voiceConfig: {
leaveOnEnd: false, // If this variable is "true", the bot will leave the channel the music ends.
autoSelfDeaf: false, // IF YOU WANT TO DEAF THE BOT, set false to true.
leaveOnTimer: {
// The leaveOnEnd variable must be "false" to use this system.
status: true, // If this variable is "true", the bot will leave the channel when the bot is offline.
time: 20000, // 1000 = 1 second
},
},
maxVol: 100, // You can specify the maximum volume level.
loopMessage: false,
discordPlayer: {
ytdlOptions: {
quality: "highestaudio", // Please don't touch
highWaterMark: 1 << 25, // Please don't touch
},
},
},
};