text: const Command = require('../../structures/Command');
  const sides = ['heads', 'tails'];
  
  module.exports = class CoinFlipCommand extends Command {
      constructor(client) {
          super(client, {
              name: 'coin',
              aliases: ['coin-flip', 'flip'],
              group: 'response',
              memberName: 'coin',
              description: 'Flips a coin.'
          });
      }
  
      run(msg) {
          const side = sides[Math.floor(Math.random() * sides.length)];
          return msg.say(`It landed on ${side}!`);
      }
  };
  