Advertisement
xxxKookie

Minecraft/Skin

Mar 6th, 2019
4,596
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const Discord = require('discord.js');
  2. const fs = require("fs");
  3. const client = new Discord.Client();
  4.  
  5. exports.run = (bot, message, args) => {
  6.  
  7.     let motivo = args.slice(0).join(' ');
  8.     if (motivo.length < 1) return message.reply('Digite o nick de algum jogador Premium.');
  9.      
  10.     let embed = new Discord.RichEmbed()
  11.    
  12.     .setTitle(`EMOJI> Informações sobre **${args[0]}**`)
  13.     .setColor("36393e")
  14.     .setImage(`https://mc-heads.net/body/${args[0]}`)
  15.     .setDescription("Link para baixar a skin: " + `https://mc-heads.net/download/${args[0]}`)
  16.     .setFooter(`Comando solicitado por: ${message.author.tag}`, `${message.author.avatarURL}`)
  17.     .setTimestamp(new Date())
  18.     message.channel.send(embed)
  19. };
  20.  
  21. exports.help = {
  22.     name: "mcskin"
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement