SHARE
TWEET

Untitled

a guest Jan 22nd, 2020 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. bot.on('message', msg => {
  2.  
  3.     if (msg.content === 'embed') {
  4.         if (msg.mentions.users.first) {
  5.  
  6.  
  7.             const joined = formatDate(msg.member.joinedAt);
  8.             const rang = msg.member.roles
  9.             .map = 'Ismeretlen';
  10.                 var exampleEmbed = new Discord.RichEmbed()
  11.                 .setFooter(msg.member.displayName, msg.member.displayAvatarURL)
  12.                 .setThumbnail(msg.member.displayAvatarURL)
  13.                 .setColor(msg.member.displayHexColor === '#e1b12c' ? '#e1b12c' : msg.member.displayHexColor)
  14.                 .setColor('#c23616')
  15.                 .addField('Játékos adatai:', stripIndents`**> Kijelző neve:** ${msg.member.displayName}`)
  16.  
  17.  
  18.                 msg.channel.send(exampleEmbed)
  19.  
  20.         };
  21.  
  22.     };
  23. });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top