JaBa/config.sample.js

37 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 */
2023-10-22 00:30:31 +05:00
token: "XXXXXXXXXXXXXXXXXXXXXXXXXXXX",
/* ID of Bot's user */
2023-10-22 00:30:31 +05:00
userId: "123456789098765432",
/* 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: {
2023-10-22 00:30:31 +05:00
id: "123456789098765432", // The ID of the support server
logs: "123456789098765432", // And the ID of the logs channel of your server (new servers for example)
invite: "https://discord.gg/discord", // Invite link to your support server
2022-01-04 02:18:28 +05:00
},
/* Dashboard configuration */
dashboard: {
2023-10-22 00:30:31 +05:00
enabled: false, // Whether the dashboard is enabled or not
maintanceKey: "letmein", // 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-10-22 00:30:31 +05:00
secret: "XXXXXXXXXXXXXXXXXXXXXXXXXXXX", // Your Bot's Client Secret
logs: "123456789098765432", // The channel ID for logs
2022-01-04 02:18:28 +05:00
},
2023-10-22 00:30:31 +05:00
mongoDB: "mongodb://127.0.0.1:27017/discordbot", // The URL of the MongoDB database
/* For the embeds */
2022-01-04 02:18:28 +05:00
embed: {
2023-10-22 00:30:31 +05:00
color: "#00FF00", // The default color for the embeds
footer: {
2023-10-22 00:30:31 +05:00
text: "My Discord 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: {
2023-10-22 00:30:31 +05:00
id: "123456789098765432", // The ID 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
};