text: const axios = require("axios");
  
  const { MessageEmbed } = require("discord.js");
  
  const Command = require("../../Structures/Command.js");
  
  module.exports = new Command({
    name: "hug",
    aliases: ['hold'],
    description: "hugs for people",
    permission: "SEND_MESSAGES",
    async run(message, args, client) {
      let user = message.mentions.members.first();
      if (!user) return message.reply("**Mention a member!**");
  
      axios
        .get("https://api.waifu.pics/sfw/hug")
        .then((res) => {
          const embed = new MessageEmbed()
            .setTitle(
              `${message.author.username} gave hug to ${user.user.username}`
            )
            .setImage(res.data.url)
            .setColor("PURPLE");
            message.reply({ embeds: [embed] });
        })
        .catch((err) => {
          console.error(err);
        });
    },
  });