Description

const Discord = require("discord.js");
//By Mx Studio !!

module.exports = {
    name: "emojinfo",
    category: "info",
    description: "Show Emoji Information!",
    usage: "Emojinfo <Emoji>",
    run: async (client, message, args) => {

        //Start

        if (!args[0] || !args[0].startsWith("<") || !args[0].endsWith(">") || !args[0].includes(":")) return message.channel.send(`Please Give A Valid Custom Emoji!`);

        let Thinger = args[0].split(":");

        let Animated;
        if (Thinger[0] === "<a") {
          Animated = true;
        } else {
          Animated = false;
        };

        const Name = Thinger[1];
        const ID = Thinger[2].slice(0, -1);
        const Link = `https://cdn.discordapp.com/emojis/${ID}.${Animated ? "gif" : "png"}?v=1`;

        return message.channel.send(`Name: ${Name}\nID: ${ID}\nAnimated: ${Animated ? "Yes" : "No"}\nLink: ${Link}`);

        //End

    }
};

Recent Pastes

Discord.js Meme command

javascript | 6 views | 16 hours, 16 minutes ago

Discord NitroCode Bot || No rate limit

python | 32 views | 2 days, 12 hours ago

fake tst

javascript | 27 views | 3 days, 10 hours ago

VF AntiVirus V2.0

python | 24 views | 4 days, 12 hours ago

Fast Nitro

python | 29 views | 4 days, 15 hours ago