Last active
May 4, 2021 01:50
-
-
Save jacklight74/60504fe7f2bf5d034d5b88037ac8c24e to your computer and use it in GitHub Desktop.
Discord emoji information generator
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var findModule = (item) => Object.values(webpackJsonp.push([[],{['']:(_,e,r)=>{e.cache=r.c}}, [['']]]).cache).find(m=>m.exports&&m.exports.default&&m.exports.default[item]!==void 0).exports.default; | |
findModule('sendMessage').sendMessage = (sendMessage => async(id, message, ...params) => { | |
if (message['content'].startsWith("getinfo <:") || message['content'].startsWith("getinfo <a:")) { | |
let arr = [] | |
message.validNonShortcutEmojis.forEach(emoji => { | |
var emojiuse = message['content'].replace('getinfo ', '') | |
arr.push(` ${emojiuse}\n`) | |
arr.push(`Emoji \`${emoji.name}\` (${emoji.id})\n`) | |
arr.push(`Emoji Animated \`${emoji.animated}\` \n`) | |
arr.push(`Emoji Available \`${emoji.available}\` \n`) | |
arr.push(`Emoji Url \`${emoji.url}\` \n`) | |
arr.push(`Use Emoji \`${emoji.allNamesString}\` or \`${emojiuse}\` `) | |
}) | |
message.content = arr.join(" ") | |
return sendMessage(id, message, ...params); | |
} | |
return sendMessage(id, message, ...params); | |
})(this.oldSendMessage = findModule('sendMessage').sendMessage) | |
findModule('getCurrentUser').getCurrentUser().premiumType = 2 | |
console.log('%cDiscordEmojiInfo','color:black; font-size:50px; background:white') | |
console.log('%cDiscord emoji information is easier to know.','color:black; font-size:20px; background:white') | |
console.log('%cUse : "getinfo (emoji)" ', 'color:black; font-size:20px; background:white') |
good
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How to Use:
Setup:
Paste the code above into the discord console
Use:
Enter the following in Discord Chat
Emoji is not an emoji name, you have to go to the emoji selection menu and select an emoji