text: const { Fight } = require("../../Functions/fightFunction");
  const { MessageEmbed, Permissions } = require("discord.js");
  
  module.exports = {
        name: "fight",
        aliases: [],
        /**
         *
         * @param {Client} client
         * @param {Message} message
         * @param {String[]} args
         */
        run: async (client, message, args) => {
              let winOptions = [
                    "Holy heck! <@{{winner}}> absolutely demolished <@{{opponent}}>.",
                    "Wow! <@{{winner}}> heckin bamboozled <@{{opponent}}>!",
                    "Hallelujah! <@{{winner}}> absolutely demolished <@{{opponent}}>!",
              ];
  
              Fight({
                    message: message,
                    opponent: message.mentions.users.first(),
                    acceptMessage:
                          "<@{{challenger}}> has challenged <@{{opponent}}> to a duel.",
                    winMessage: "<@{{winner}}> won the fight.",
                    endMessage:
                          "<@{{opponent}}> didn't answer in time, what a nab-",
                    cancelMessage:
                          "<@{{opponent}}> declined your offer, what a wimp...",
                    fightMessage: "{{player}}, it's your turn first.",
                    opponentsTurnMessage: "Please wait for your opponents move.",
                    highHealthMessage:
                          "You cannot heal if your HP is above 80, kinda unfair...",
                    lowHealthMessage:
                          "You cannot cancel the fight if your HP is below 50, that's just annoying...",
                    returnWinner: false,
                    othersMessage: "This isn't your game.",
                    channel: message.channel.id,
              });
        },
  };