-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathconfig.js
53 lines (48 loc) · 1.52 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
47
48
49
50
51
52
53
const { ActivityType } = require("discord.js");
require("dotenv").config();
module.exports = {
bot: {
token: process.env.token || "", // Bot token
clientName: process.env.clientName || "SomeCoolName", // Bot username
clientId: process.env.clientId || "", // Bot clientId
clientSecret: process.env.clientSecret || "", // Bot clientSecret
},
owner: {
userId: process.env.userId || "", // Owner userId for developer command
updateChecker: true, // Check for latest update. set to false if you dont want to check for latest update
},
botSettings: {
mongoUrl: process.env.mongoUrl || "", // Mongodb url for database
geniusToken: process.env.geniusToken || "", // Genius token use to fetch lyrics, you can leave it blank.
prefix: process.env.prefix || "?", // Default prefix is set to "?" use prefix command to change
embedColor: process.env.embedColor || "2F3136", // You can use any HEX Color but without the "#"
},
// Lavalink settings. Please use lavalink v4
// You can remove docker-node if youre not using docker to run the bot.
nodes: [
{
name: "docker-node",
host: "docker.lavalink",
password: "youshallnotpass",
port: 2333,
secure: false,
},
{
name: "node-1",
host: "localhost",
password: "youshallnotpass",
port: 2333,
secure: false,
},
],
// Client Presence
presence: {
activities: [
{
name: "/play",
type: ActivityType.Listening,
},
],
status: "online",
},
};