Discord_API_Bot/config.js
2024-04-01 19:02:22 -08:00

64 lines
2.9 KiB
JavaScript

module.exports = {
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
// Array of roles associated with specific packages
package_roles: [
{
roleID: "", // Discord Role ID for package 1
packageID: 1 // Corresponding package ID
},
{
roleID: "", // Discord Role ID for package 2
packageID: 2
},
{
roleID: "", // Add more roles and package IDs as needed
packageID: 3
},
// Continue adding roles and package IDs
],
// Support topics for user assistance
support_topics: [
{ 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 },
// Add more support topics as needed
],
// Products available for review
review_products: [
{ name: "Idk", value: "1" },
{ name: "Review 2 bla bla bla", value: "2" },
// Add more review products as needed
],
// SQLite configuration
sqlite: {
dbPath: "./data/database.sqlite", // Path to your SQLite database file
},
// 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
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
},
};