text: const { Command, SwitchbladeEmbed } = require('../../')
  
  module.exports = class Adorable extends Command {
    constructor (client) {
      super({
        name: 'adorable'
      }, client)
    }
  
    run ({ author, channel }) {
      const embed = new SwitchbladeEmbed(author)
      const template = 'https://api.adorable.io/avatars/256'
      channel.startTyping()
      embed.setImage(`${template}/${author.avatar}.png`)
      channel.send(embed).then(() => channel.stopTyping())
    }
  }
  