text: const { Listener } = require('discord-akairo');
  var logger = require('winston');
  
  class CommandBlockedListener extends Listener {
      constructor() {
          super('commandBlocked', {
              emitter: 'commandHandler',
              eventName: 'commandBlocked'
          });
      }
  
      exec(message, command, reason) {
          logger.info(`${message.author.username} was blocked from using ${command.id} because of ${reason}!`);
      }
  }
  
  module.exports = CommandBlockedListener;
  