const { MessageEmbed } = require('discord.js'); const { red, black } = require('../../other/texts/colors.json'); module.exports = { config: { name: 'hosting', aliases: [], category: 'utility', usage: 'hosting', description: 'Displays information about our hosting companies that makes Attitude alive.', accessableby: 'Members', options: [ { name: 'company', description: 'Which hosting company would you like to view information of?', required: true, type: 'STRING', choices: [ { name: 'gofreshstart', value: 'a' }, { name: 'oxidehosting', value: 'b' }, ], }, ], }, run: async (bot, interaction, args) => { if (!interaction.channel.permissionsFor(interaction.guild.me).has(['VIEW_CHANNEL', 'SEND_MESSAGES', 'EMBED_LINKS'])) return; const [company] = args; if (company === 'b') { const gofreshstartEmbed = new MessageEmbed() .setColor(black) .attachFiles(gofreshstart) .setThumbnail("attachment://gofreshstart.png") .setTitle("Attitude's Website Hosting Provider Information") .setURL("https://www.gofreshstart.co.uk/") .setDescription("**What is GoFreshStart Hosting?**\nGoFreshStart Hosting is a hosting service who provides multiple hosting services starting from Website hosting all the way to Minecraft Server Hosting!\n\nTired from keeping your computer on all day just to host your project? Well, GoFreshStart hosting company is the best company to host it for you 24/7.") .addField(`**Useful Links:**`, [ `**\`Our Website:\`** http://gofreshstart.co.uk/`, `**\`Login to your account (MyFS):\`** http://my.gofreshstart.co.uk/`, `**\`Uptime & Status:\`** http://status.gofreshstart.co.uk/` ].join("\n")) .addField(`**Services:**`, [ `**• Website Hosting** - We've got your website covered: [Click Here](https://gofreshstart.co.uk/webhosting.html)`, `**• Game Hosting** - Level up your Game Server with FreshStart: [Click Here](https://gofreshstart.co.uk/gameservers.html)`, `**• Game Panel Hosting** - Your own fully managed panel to host whatever you please: [Click Here](https://gofreshstart.co.uk/gamepanel.html)`, `**• Dedicated Servers** - We have a range of bare metal servers available around the globe: [Click Here](https://gofreshstart.co.uk/dedicated.html)`, `**• Discord Bot Hosting** - Keep your bot always online with FreshStart: [Click Here](https://gofreshstart.co.uk/discordbot.html)`, `**• FreshBox VPS** - Take control of your own environment with a FreshBox: [Click Here](http://gofreshstart.co.uk/)`, ].join("\n")) .addField(`**Other Useful Information:**`, [ `**- Founder & CEO:** Ollie#3510`, `**- Discord Support Server:** https://discord.gg/aSFcDCcuyd`, `**- Quality:** [Click Here](https://gofreshstart.co.uk/quality.html)`, ].join("\n")) return await interaction.followUp({ embeds: [gofreshstartEmbed], files: [{ attachment: './src/other/images/gofreshstart.png', name: 'gofreshstart.png' }] }); } else if (company === 'b') { const oxideEmbed = new MessageEmbed() .setColor(black) .attachFiles(oxide) .setThumbnail("attachment://oxide.png") .setTitle("Attitude Bot Hosting Provider Information") .setURL("https://www.oxide.host/") .setDescription("**What is Oxide Host?**\nOxide Host is a hosting service who provides multiple hosting services ranging from Website hosting all the way to Discord Bot Hosting!\n\nTired from keeping your computer on all day just to host your project? Well, Oxide Host company is the best company to host it for you 24/7.") .addField(`**Useful Links:**`, [ `**\`Our Website:\`** http://oxide.host/`, `**\`Login to your account (Client Area):\`** https://billing.oxide.host/login`, `**\`Uptime & Status:\`** https://status.oxide.host/` ].join("\n")) .addField(`**Services:**`, [ `**• Gaming Hosting (Minecraft for Networks)** - Your own fully managed panel to host whatever you please: [Click Here](https://oxide.host/minecraft-for-networks)`, `**• Website Hosting** - We've got your website covered: [Click Here](https://oxide.host/website-hosting)`, `**• Virtual Server** - Take control of your own environment with a VPS: [Click Here](https://oxide.host/virtual-servers-classic)`, `**• Discord Bot Hosting** - Keep your bot always online with Oxide Host: [Click Here](https://oxide.host/discord-bot-hosting)`, `**• Service Bundes** - Check out some service bundles and offers for new coming customers: [Click Here](https://oxide.host/service-bundles)` ].join("\n")) .addField(`**Other Useful Information:**`, [ `**- Founder & CEO:** Nicholas#0273`, `**- Discord Support Server:** https://oxide.host/social/discord` ].join("\n")) return await interaction.followUp({ embeds: [oxideEmbed], files: [{ attachment: './src/other/images/oxide.png', name: 'oxide.png' }] }); }; }, };