JaBa/config.sample.js

42 lines
1.4 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",
2024-02-28 18:35:51 +05:00
/* UserID of your Discord Bot */
userId: "XXXXXXXXXXXXXXXXXXXXXXXXXXXX",
2024-02-14 21:16:13 +05:00
/* The URL of the MongoDB database */
mongoDB: "mongodb://127.0.0.1:27017/discordbot",
/* Set to true for production */
2024-02-12 13:59:24 +05:00
/* If set to false, commands only will be registered on the support.id server */
production: true,
2024-02-14 21:16:13 +05:00
/* 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
2024-02-14 21:16:13 +05:00
logs: "123456789098765432", // The channel's ID for logs on the support server (when bot joins or leaves a guild)
invite: "https://discord.gg/discord", // Invite link to the 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
2024-02-14 21:16:13 +05:00
maintanceKey: "letmein", // 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
},
2024-02-14 21:16:13 +05:00
/* Embeds defaults */
2022-01-04 02:18:28 +05:00
embed: {
2024-02-14 21:16:13 +05:00
color: "#00FF00", // Color
footer: {
2024-02-14 21:16:13 +05:00
text: "My Discord Bot | v" + require("./package.json").version, // Footer text
},
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
},
2024-02-14 21:16:13 +05:00
/* Add your own API keys here */
apiKeys: {
2024-02-28 18:35:51 +05:00
shlink: "12345678-1234-1234-1234-123456789098", /* Shlink.io REST API key */
2024-02-14 21:16:13 +05:00
},
2024-02-12 13:59:24 +05:00
};