Replaced with new code

This commit is contained in:
ShadowVirtual 2024-04-01 19:02:22 -08:00
parent 657268d3c9
commit 425f21a1f2
22 changed files with 5130 additions and 70 deletions

View file

@ -1,73 +1,64 @@
module.exports = {
bot_token: "", //your discord bot token
guild_id: "", // your discord server id
licenseKey: "", // your License Key
domainIP: "",
api_role_id: "", // Verify Role
api_url: "https://YOURDOMAIN/api/v1",
auth_url: "https://YOURDOMAIN/oauth/discord/connect", // required Discord OAuth. AdminPanel -> Configuration -> Oauth
api_token: "", // Admin Panel -> Create a new token under API Token. The token must have all permissions
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
notification_channelID: "",
review_channelID: "",
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
packageID: 1
roleID: "", // Discord Role ID for package 1
packageID: 1 // Corresponding package ID
},
{
roleID: "",
{
roleID: "", // Discord Role ID for package 2
packageID: 2
},
{
roleID: "",
{
roleID: "", // Add more roles and package IDs as needed
packageID: 3
},
{
roleID: "",
packageID: 4
},
{
roleID: "",
packageID: 5
},
// Continue adding roles and package IDs
],
support_topics: [ // Max 25 Topics ( Discord Limit )
// 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 },
{ name: "Support 3 bla bla bla", value: "3", response: "123", footer: "" , image: false, thumbnail: false },
{ name: "Support 4 bla bla bla", value: "4", response: "123", footer: "" , image: false, thumbnail: false },
// Add more support topics as needed
],
review_products: [ // Max 25 Topics ( Discord Limit )
{ name: "NGoGAuther", value: "1" },
// Products available for review
review_products: [
{ name: "Idk", value: "1" },
{ name: "Review 2 bla bla bla", value: "2" },
{ name: "Review 3 bla bla bla", value: "3" },
{ name: "Review 4 bla bla bla", value: "4" },
// Add more review products as needed
],
mysql: { // MYSQL Requried for Ticket
host: "localhost",
user: "root",
password: "",
database: "",
port: 3306,
// SQLite configuration
sqlite: {
dbPath: "./data/database.sqlite", // Path to your SQLite database file
},
ticket_settings: {
embed_color: "Green",
ticket_message: "Welcome {user},\nSupport will get in test ahb you shortly.",
ticket_thumbnail: "https://i.imgur.com/ApeRvJk.png",
// 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: '😂',
buttoncloselabel: "Schließen",
buttonclosestyle: "Secondary",
buttoncloseemoji: '😂', // Emoji for the close button
buttoncloselabel: "Close", // Label for the close button
buttonclosestyle: "Secondary", // Style for the close button
buttoncreateemoji: "🎫",
buttoncreatelabel: "Öffnen",
buttoncreatestyle: "Secondary",
buttoncreateemoji: "🎫", // Emoji for the create ticket button
buttoncreatelabel: "Open Ticket", // Label for the create ticket button
buttoncreatestyle: "Secondary", // Style for the create ticket button
},
};

8
eggactyl_config.yml Normal file
View file

@ -0,0 +1,8 @@
version: 2
lang: en
software:
type: discord_node
node_version: "16"
package_manager: npm
bot:
start_file: index.js

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

228
index.js

File diff suppressed because one or more lines are too long

2530
package-lock.json generated Normal file

File diff suppressed because it is too large Load diff

View file

@ -6,7 +6,8 @@
"mysql": "^2.18.1",
"request": "^2.88.2",
"systeminformation": "^5.18.3",
"terminal-kit": "^3.0.0"
"terminal-kit": "^3.0.0",
"sqlite3": "^5.1.7"
},
"version": "1.2.0",

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long