-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathconfig.sample.js
More file actions
67 lines (57 loc) · 1.6 KB
/
config.sample.js
File metadata and controls
67 lines (57 loc) · 1.6 KB
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
const version = require("./package.json").version;
/**
* CONFIGURATION FILE
*
* IMPORTANT: Move sensitive tokens and URIs to a .env file.
*/
module.exports = {
// Bot Identity
token: process.env.DISCORD_TOKEN || "",
owners: (process.env.OWNERS || "697435544812257342").split(","),
// Database
mongoDB: process.env.MONGODB_URI || "",
// Internationalization
basiclang: "english",
// Presence Configuration
status: [
{
name: "/help ▪︎ ManageGift's on {guild} guilds! ▪︎ v{version}",
type: 0, // Playing
},
{
name: "{total_giveaways} Giveaways Launched ▪︎ {ac_giveaways} Active giveaways",
type: 0, // Playing
},
],
// Dashboard Settings
dashboard: {
enabled: false,
clientID: process.env.CLIENT_ID || "611885300322402334",
clientSecret: process.env.CLIENT_SECRET || "",
callbackURL:
process.env.CALLBACK_URL || "http://localhost:3000/login/callback",
dashboardURL: process.env.DASHBOARD_URL || "http://localhost",
port: process.env.PORT || "3000",
},
// Visuals
embeds: {
color: "#454dfc",
footers: `🎁 ManageGift's v${version} | http://managegift.ga`,
},
// Logging
webhooklogs: {
cmd: process.env.WEBHOOK_CMD || "",
join_leave: process.env.WEBHOOK_JOIN_LEAVE || "",
},
// Giveaway Settings
giveaway: {
reaction: process.env.GIVEAWAY_REACTION || "<:botlogo:1024760383677927484>",
lastchanceenabled: true,
},
// Links
links: {
web: "http://managegift.ga",
supportserver: "https://discord.gg/7XfV4Md",
vote: "https://top.gg/bot/598564396691750933/vote",
},
};