text: const {
  	MessageEmbed,
  	Message
  } = require("discord.js");
  const config = require("../../botconfig/config.json");
  const ee = require("../../botconfig/embed.json");
  const settings = require("../../botconfig/settings.json");
  module.exports = {
  	name: "addrelated", //the command name for the Slash Command
  	description: "Add a similar/related song to the current Song!", //the command description for Slash Command Overview
  	cooldown: 2,
  	requiredroles: [], //Only allow specific Users with a Role to execute a Command [OPTIONAL]
  	alloweduserids: [], //Only allow specific Users to execute a Command [OPTIONAL
  	run: async (client, interaction) => {
  		try {
  			//things u can directly access in an interaction!
  			const {
  				member,
  				channelId,
  				guildId,
  				applicationId,
  				commandName,
  				deferred,
  				replied,
  				ephemeral,
  				options,
  				id,
  				createdTimestamp
  			} = interaction;
  			const {
  				guild
  			} = member;
  			const {
  				channel
  			} = member.voice;
  			if (!channel) return interaction.reply({
  				embeds: [
  					new MessageEmbed().setColor(ee.wrongcolor).setTitle(`${client.allEmojis.x} **Please join ${guild.me.voice.channel ? "__my__" : "a"} VoiceChannel First!**`)
  				],
  				ephemeral: true
  			})
  			if (channel.userLimit != 0 && channel.full)
  				return interaction.reply({
  					embeds: [new MessageEmbed()
  						.setColor(ee.wrongcolor)
  						.setFooter(ee.footertext, ee.footericon)
  						.setTitle(`:x: Your Voice Channel is full, I can't join!`)
  					],
  					ephemeral: true
  				});
  			if (channel.guild.me.voice.channel && channel.guild.me.voice.channel.id != channel.id) {
  				return interaction.reply({
  					embeds: [new MessageEmbed()
  						.setColor(ee.wrongcolor)
  						.setFooter(ee.footertext, ee.footericon)
  						.setTitle(`:x: I am already connected somewhere else`)
  					],
  					ephemeral: true
  				});
  			}
  			try {
  				let newQueue = client.distube.getQueue(guildId);
  				if (!newQueue || !newQueue.songs || newQueue.songs.length == 0) return interaction.reply({
  					embeds: [
  						new MessageEmbed().setColor(ee.wrongcolor).setTitle(`${client.allEmojis.x} **I am nothing Playing right now!**`)
  					],
  					ephemeral: true
  				})
  				//update it without a response!
  				await interaction.reply({
  					content: `🔍 Searching Related Song for... **${newQueue.songs[0].name}**`,
  					ephemeral: true
  				});
  				await newQueue.addRelatedSong();
  				await interaction.reply({
  					content: `👍 Added: **${newQueue.songs[newQueue.songs.length - 1].name}**`,
  					ephemeral: true
  				});
  			} catch (e) {
  				console.log(e.stack ? e.stack : e)
  				interaction.editReply({
  					content: `${client.allEmojis.x} | Error: `,
  					embeds: [
  						new MessageEmbed().setColor(ee.wrongcolor)
  						.setDescription(`\`\`\`${e}\`\`\``)
  					],
  					ephemeral: true
  				})
  			}
  		} catch (e) {
  			console.log(String(e.stack).bgRed)
  		}
  	}
  }