text: const { MessageEmbed } = require("discord.js");
  
  module.exports = {
   name: "flipcoin",
   aliases: [],
   description: "Flip a virtual coin",
   category: "Fun",
   usage: "flipcoin",
   run: async (client, message, args) => {
    try {
     const answers = ["Heads", "Tails"];
     const answer = answers[Math.floor(Math.random() * answers.length)];
     const embed = new MessageEmbed() // Prettier
      .setColor("RANDOM")
      .setTitle(`${client.bot_emojis.coin} | I'm get: ${answer}`)
      .setFooter(
       `Requested by ${message.author.username}`,
       message.author.displayAvatarURL({
        dynamic: true,
        format: "png",
        size: 2048,
       })
      )
      .setTimestamp();
     message.reply({ embeds: [embed] });
    } catch (err) {
     console.log(err);
     return client.createCommandError(message, err);
    }
   },
  };
  