Discord_API_Bot/config.js

65 lines
2.9 KiB
JavaScript
Raw Permalink Normal View History

2024-04-02 03:59:09 +01:00
module.exports = {
2024-04-02 04:02:22 +01:00
bot_token: "MTIyMzk5MTMzMTkyNDM0NDk1Mg.Gw9D1I.oo70_KeMM4KsXMlBBAZ8NYOMfsCUML7DMt2SQ8", // Your Discord bot token
guild_id: "1199858405486100602", // Your Discord server ID
domainIP: "shadowhost.icu", // IP address of your domain
api_role_id: "1223991994360004698", // Role ID for verification purposes
api_url: "https://shadowhost.icu/api/v1", // Base URL for your API
auth_url: "https://shadowhost.icu/oauth/discord/connect", // URL for Discord OAuth (Required for Discord OAuth. Configure in Admin Panel -> Configuration -> Oauth)
api_token: "TS9IgrHbSB2PeJcVJdWgHamJ5E76wMDryQIbZeYTFC8MOn57dDP6ZXjSirAZ", // API token from your Admin Panel. Must have all permissions (Admin Panel -> Create a new token under API Token)
notification_channelID: "1223992373478948995", // Channel ID for sending notification messages
review_channelID: "1223992395071230003", // Channel ID for posting review messages
2024-04-02 03:59:09 +01:00
2024-04-02 04:02:22 +01:00
// Array of roles associated with specific packages
2024-04-02 03:59:09 +01:00
package_roles: [
{
2024-04-02 04:02:22 +01:00
roleID: "", // Discord Role ID for package 1
packageID: 1 // Corresponding package ID
2024-04-02 03:59:09 +01:00
},
2024-04-02 04:02:22 +01:00
{
roleID: "", // Discord Role ID for package 2
2024-04-02 03:59:09 +01:00
packageID: 2
},
2024-04-02 04:02:22 +01:00
{
roleID: "", // Add more roles and package IDs as needed
2024-04-02 03:59:09 +01:00
packageID: 3
},
2024-04-02 04:02:22 +01:00
// Continue adding roles and package IDs
2024-04-02 03:59:09 +01:00
],
2024-04-02 04:02:22 +01:00
// Support topics for user assistance
support_topics: [
2024-04-02 03:59:09 +01:00
{ name: "Support 1 bla bla bla", value: "1", response: "123", footer: "" , image: false, thumbnail: false },
{ name: "Support 2 bla bla bla", value: "2", response: "123 \n Test \n Hilfe", image: false, thumbnail: false },
2024-04-02 04:02:22 +01:00
// Add more support topics as needed
2024-04-02 03:59:09 +01:00
],
2024-04-02 04:02:22 +01:00
// Products available for review
review_products: [
{ name: "Idk", value: "1" },
2024-04-02 03:59:09 +01:00
{ name: "Review 2 bla bla bla", value: "2" },
2024-04-02 04:02:22 +01:00
// Add more review products as needed
2024-04-02 03:59:09 +01:00
],
2024-04-02 04:02:22 +01:00
// SQLite configuration
sqlite: {
dbPath: "./data/database.sqlite", // Path to your SQLite database file
2024-04-02 03:59:09 +01:00
},
2024-04-02 04:02:22 +01:00
// Settings for the ticket system
ticket_settings: {
embed_color: "Green", // Embed color for the ticket messages
ticket_message: "Welcome {user},\nSupport will get in touch with you shortly.", // Welcome message for new tickets
ticket_thumbnail: "https://i.imgur.com/ApeRvJk.png", // Thumbnail image for ticket messages
2024-04-02 03:59:09 +01:00
2024-04-02 04:02:22 +01:00
buttoncloseemoji: '😂', // Emoji for the close button
buttoncloselabel: "Close", // Label for the close button
buttonclosestyle: "Secondary", // Style for the close button
buttoncreateemoji: "🎫", // Emoji for the create ticket button
buttoncreatelabel: "Open Ticket", // Label for the create ticket button
buttoncreatestyle: "Secondary", // Style for the create ticket button
},
2024-04-02 03:59:09 +01:00
};