-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
config.js
27 lines (27 loc) · 895 Bytes
/
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
module.exports = {
discord_bot: {
enabled: false,
token: process.env.TOKEN || "",
activity: {
name: process.env.ACTIVITY_NAME || "Lavalinks",
type: process.env.ACTIVITY_TYPE || "Watching",
},
channelId: process.env.CHANNEL_ID || "",
refreshInterval: process.env.REFRESH_INTERVAL || 30000,
},
lavalink: {
enabled: false,
nodes: [{
host: process.env.LAVALINK_HOST || "",
port: process.env.LAVALINK_PORT || 443,
password: process.env.LAVALINK_PASSWORD || "visa2code",
secure: process.env.LAVALINK_SECURE || true
}],
retryDelay: 5000,
retryAmount: 10,
send: function (guildID, packet) {
const guild = this.client.guilds.cache.get(guildID);
if (guild) guild.shard.send(packet);
},
}
}