Open connected-mhuanghobbs opened 6 years ago
This looks pretty brittle but
EMOJI_URL=$(curl https://unhaltable.slack.com | grep script | grep emoji | sed 's/.*src="\([^"]*\)".*/\1/')
curl $EMOJI_URL > emoji.js
cat emoji.js | sed 's/.*\.prototype\.data=//' | sed 's/\(}\).*/\1/' > emoji2.js
This can fetch the default emoji dictioanry from slack, which we could then source control.
render :colon-normalized-emoji: to emoji images. Custom emoji support would be nice too :/