text: module.exports = {
  	name: "waifu",
  	description: "Get waifu image.",
  	botChannelPermissions: ["EMBED_LINKS", "SEND_MESSAGES"],
  	cooldown: 5,
  	category: "sfw",
  	sfw: true,
  	run: async (interaction, client) => {
  		const type = interaction.options.getString('type');
  		client.porn.porn2.sfw['waifu']().then((i) => {
  			var image = i.url ? i.url : i.image;
  			var embed = new client.discord.MessageEmbed({
  				author: {
  					name: interaction.member.user.tag,
  					url: image
  				},
  				timestamp: new Date(),
  				footer: {
  					text: interaction.member.user.id,
  					icon_url: interaction.member.user.displayAvatarURL()
  				},
  				image: {
  					url: image
  				},
  				color: client.config.color.default
  			});
  			return interaction.reply({
  				embeds: [embed]
  			});
  		}).catch((e) => {
  			var embed = new client.discord.MessageEmbed({
  				author: {
  					name: interaction.member.user.tag
  				},
  				timestamp: new Date(),
  				footer: {
  					text: interaction.member.user.id,
  					icon_url: interaction.member.user.displayAvatarURL()
  				},
  				color: client.config.color.error,
  				description: `\`\`\`\n${client.config.emoji.error} Error while executing command!\`\`\``
  			});
  			return interaction.reply({
  				embeds: [embed]
  			}).then(() => {
  				setTimeout(() => {
  					interaction.deleteReply().catch(() => {});
  				}, 5000);
  			});
  		});
  	}
  };
  