JaBa/config.sample.js

59 lines
2.3 KiB
JavaScript
Raw Normal View History

2021-12-10 21:39:54 +05:00
module.exports = {
/* The token of your Discord Bot */
token: "XXXXXXXXXXX",
2021-12-15 21:55:54 +05:00
/* Youtube token */
youtubeToken: "XXXXXXXXXXX",
2021-12-10 21:39:54 +05:00
/* 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
2021-12-14 23:17:54 +05:00
baseURL: "https://dashboard.example.com", // The base URl of the dashboard
2021-12-10 21:39:54 +05:00
logs: "XXXXXXXXXXX", // The channel ID of logs
port: 8080, // Dashboard port
expressSessionPassword: "XXXXXXXXXXX", // Express session password (it can be what you want)
2021-12-14 23:17:54 +05:00
failureURL: "https://dashboard.example.com" // url on which users will be redirected if they click the cancel button (discord authentication)
2021-12-10 21:39:54 +05:00
},
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
2021-12-14 23:17:54 +05:00
footer: "Bot | v1.0" // And the default footer for the embeds
2021-12-10 21:39:54 +05:00
},
/* Bot's owner informations */
owner: {
id: "XXXXXXXXXXX", // The ID of the bot's owner
2021-12-15 21:55:54 +05:00
name: "@XXXXXXXXXXX#1234" // And the name of the bot's owner
2021-12-10 21:39:54 +05:00
},
/* 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 - you can delete the field)
sentryDSN: "XXXXXXXXXXX"
},
/* The others utils links */
others: {
2021-12-15 21:55:54 +05:00
github: "https://github.com/XXXXXXXXXXX", // Founder's github account
2021-12-14 23:17:54 +05:00
donate: "https://patreon.com/XXXXXXXXXXX" // Donate link
2021-12-10 21:39:54 +05:00
}
};