Skip to content

Instantly share code, notes, and snippets.

@balbuf
Created September 25, 2018 17:02
Show Gist options
  • Save balbuf/d660f55474a8516c0a490a3332ca37dc to your computer and use it in GitHub Desktop.
Save balbuf/d660f55474a8516c0a490a3332ca37dc to your computer and use it in GitHub Desktop.
Slack tabulate emoji creators
// make sure all custom emojis are loaded, then run this in the console
console.table(Object.entries(jQuery('.p-customize_emoji_list__author').toArray().reduce((accumulator, el) => {var user = el.textContent.trim(); accumulator[user] = accumulator[user] || 0; accumulator[user]++; return accumulator;}, {})).sort((a, b) => b[1] - a[1]));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment