LokMx
25
0
Feb. 17, 2021, 11:11 a.m.
Login to like
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 } };
javascript | 6 views | 16 hours, 16 minutes ago
python | 32 views | 2 days, 12 hours ago
javascript | 27 views | 3 days, 10 hours ago
python | 24 views | 4 days, 12 hours ago
python | 29 views | 4 days, 15 hours ago