Skip to content

Instantly share code, notes, and snippets.

@multimeric
Last active April 12, 2020 12:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save multimeric/d47537182d23e8bb335dc296cd089211 to your computer and use it in GitHub Desktop.
Save multimeric/d47537182d23e8bb335dc296cd089211 to your computer and use it in GitHub Desktop.
Produces a TSV (table) that lists all emoji on your server and their IDs
// Open up Sever Settings → Emoji in your browser
// Open the dev console using F12
// Paste the below script into the dev tools console
let str = "";
for (let emoj of document.querySelectorAll('div[class*=emojiRow][class*=card]')){
str += emoj.children[1].innerText;
str += '\t'
str += emoj.children[0].style['background-image'].replace('url("https://cdn.discordapp.com/emojis/', '').replace('.png?v=1")', '');
str += '\n'
}
console.log(str);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment