forked from Androz2091/AtlantaBot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.sample.js
147 lines (147 loc) · 3.62 KB
/
config.sample.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
module.exports = {
/* The token of your Discord Bot */
token: "XXXXXXXXXXX",
/* For the support server */
support: {
id: "XXXXXXXXXXX", // The ID of the support server
logs: "XXXXXXXXXXX", // And the ID of the logs channel of your server (new servers for example)
},
/* Dashboard configuration */
dashboard: {
enabled: false, // whether the dashboard is enabled or not
secret: "XXXXXXXXXXX", // Your discord client secret
baseURL: "https://dashboard.atlanta-bot.fr", // The base URl of the dashboard
logs: "XXXXXXXXXXX", // The channel ID of logs
port: 8080, // Dashboard port
expressSessionPassword: "XXXXXXXXXXX", // Express session password (it can be what you want)
failureURL: "https://www.atlanta-bot.fr" // url on which users will be redirected if they click the cancel button (discord authentication)
},
mongoDB: "mongodb://localhost:27017/AtlantaBot", // The URl of the mongodb database
prefix: "*", // The default prefix for the bot
/* For the embeds (embeded messages) */
embed: {
color: "#0091fc", // The default color for the embeds
footer: "Atlanta | Open Source" // And the default footer for the embeds
},
/* Bot's owner informations */
owner: {
id: "XXXXXXXXXXX", // The ID of the bot's owner
name: "Androz#2091" // And the name of the bot's owner
},
/* DBL votes webhook (optional) */
votes: {
port: 5000, // The port for the server
password: "XXXXXXXXXXX", // The webhook auth that you have defined on discordbots.org
channel: "XXXXXXXXXXX" // The ID of the channel that in you want the votes logs
},
/* The API keys that are required for certain commands */
apiKeys: {
// BLAGUE.XYZ: https://blague.xyz/
blagueXYZ: "XXXXXXXXXXX",
// FORTNITE TRN: https://fortnitetracker.com/site-api
fortniteTRN: "XXXXXXXXXXX",
// FORTNITE FNBR: https://fnbr.co/api/docs
fortniteFNBR: "XXXXXXXXXXX",
// DBL: https://discordbots.org/api/docs#mybots
dbl: "XXXXXXXXXXX",
// AMETHYSTE: https://api.amethyste.moe
amethyste: "XXXXXXXXXXX",
// SENTRY: https://sentry.io (this is not required and not recommended)
sentryDSN: "XXXXXXXXXXX"
},
/* The others utils links */
others: {
github: "https://github.com/Androz2091", // Founder's github account
donate: "https://patreon.com/Androz2091" // Donate link
},
/* The Bot status */
status: [
{
name: "@Atlanta help on {serversCount} servers",
type: "LISTENING"
},
{
name: "my website : atlanta-bot.fr",
type: "PLAYING"
}
],
/* Language configuration */
languages: [
{
name: "en-US",
nativeName: "English",
moment: "en",
defaultMomentFormat: "MMMM Do YYYY",
default: true,
aliases: [
"English",
"en",
"en-us",
"en_us",
"en_US"
]
},
{
name: "fr-FR",
nativeName: "Français",
defaultMomentFormat: "Do MMMM YYYY",
moment: "fr",
default: false,
aliases: [
"French",
"français",
"francais",
"fr",
"fr_fr"
]
},
{
name: "es-ES",
nativeName: "Español",
defaultMomentFormat: "MMM Do, YYYY",
moment: "es",
default: false,
aliases: [
"Spanish",
"es",
"es_es"
]
},
{
name: "it-IT",
nativeName: "Italiano",
defaultMomentFormat: "Do MMMM YYYY",
moment: "it",
default: false,
aliases: [
"Italian",
"it",
"it_it"
]
},
{
name: "nl-NL",
nativeName: "Nederlands",
defaultMomentFormat: "Do MMMM YYYY",
moment: "nl",
default: false,
aliases: [
"Dutch",
"nl",
"nl_nl"
]
},
{
name: "pt-PT",
nativeName: "Português",
defaultMomentFormat: "Do MMMM YYYY",
moment: "pt",
default: false,
aliases: [
"Portuguese",
"pt",
"pt_pt"
]
}
]
};