SHARE
TWEET

information emoji

MrWolf_1sT Feb 14th, 2020 72 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. client.on('message', message =>{
  2.   let args = message.content.split(' ');
  3. if(args[0] === `${prefix}emoji`){
  4. let findEmoji = args[1];
  5.  
  6. if(!findEmoji || findEmoji === '') return  message.reply(`**أدخل الايموجي**`);
  7.  
  8. let EmojiId = findEmoji.slice(findEmoji.length - 19,findEmoji.length -1);
  9.  
  10. if(isNaN(EmojiId)) return message.reply(`**لم استطع العثور على الايموجي المطلوب**`);
  11.  
  12. let EmojiURL = `https://cdn.discordapp.com/emojis/${EmojiId}.png`;
  13.  
  14. let EmojiEmbed = new Discord.RichEmbed()
  15. .setColor('RANDOM')
  16. .setTitle(`Link Emoji ${findEmoji}`)
  17. .setURL(`${EmojiURL}`)
  18. .setImage(`${EmojiURL}`)
  19.  
  20. message.channel.send({ embed  : EmojiEmbed });
  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