Instantly share code, notes, and snippets.

What would you like to do?
Download all of your Team's custom Slack emojis.
# get a token from
# or if you don't have permissions to create one, you can inspect the Slack web client and you can get the one it is using
curl -q -s "$SLACK_TOKEN" | jq -Mr '.emoji | to_entries | .[] | select(.value | startswith("http")) | "\(.key) \(.value)"' | sort | while read name url; do
echo "$fn"
curl -q -s -o "$fn" "$url"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment