JaBa/config.sample.js

38 lines
1.3 KiB
JavaScript
Raw Normal View History

2022-01-04 02:18:28 +05:00
module.exports = {
/* The token of your Discord Bot */
token: "XXXXXXXXXXX",
/* ID of Bot's user */
2023-07-05 00:58:06 +05:00
userId: "XXXXXXXXXXX",
/* Set to true for production */
production: true,
2022-10-03 19:31:19 +05:00
/* For the support server */
2022-01-04 02:18:28 +05:00
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)
2023-07-19 21:43:56 +05:00
invite: "XXXXXXXXXXX", // Invite link to your support server
2022-01-04 02:18:28 +05:00
},
/* Dashboard configuration */
dashboard: {
2023-06-26 17:25:17 +05:00
enabled: true, // Whether the dashboard is enabled or not
2023-07-19 21:43:56 +05:00
maintanceKey: "XXXXXXXXXXX", // Your maintance key
2023-06-26 17:25:17 +05:00
port: 80, // Dashboard port
domain: "http://localhost", // The base URL of the dashboard without / at the end
2023-07-19 21:43:56 +05:00
secret: "XXXXXXXXXXX", // Your Discord Client's Secret
logs: "XXXXXXXXXXX", // The channel ID for logs
2022-01-04 02:18:28 +05:00
},
mongoDB: "mongodb://localhost:27017/discordbot", // The URl of the mongodb database
/* For the embeds (embeded messages) */
embed: {
color: "#0091fc", // The default color for the embeds
footer: {
text: "Bot | v" + require("./package.json").version,
}, // And the default footer for the embeds
2022-01-04 02:18:28 +05:00
},
/* Bot's owner informations */
owner: {
id: "XXXXXXXXXXX", // The ID of the bot's owner
name: "XXXXXXXXXXX#1234", // And the name of the bot's owner
2022-01-04 02:18:28 +05:00
},
/* The API keys that are required for certain commands */
apiKeys: {},
2022-01-04 02:18:28 +05:00
};