Skip to content

Instantly share code, notes, and snippets.

@granthenke
Created March 28, 2018 15:10
Show Gist options
  • Save granthenke/5f6e479bce8428d9ce698a972ec73cb2 to your computer and use it in GitHub Desktop.
Save granthenke/5f6e479bce8428d9ce698a972ec73cb2 to your computer and use it in GitHub Desktop.
A short script to load a bunch of emojis with https://github.com/lambtron/emojipacks
# Set slack subdomain, email, and password
subdomain=
email=
password=
declare -a urls=(
"https://raw.githubusercontent.com/lambtron/emojipacks/master/packs/slackmojis-uncategorized.yaml"
"https://raw.githubusercontent.com/lambtron/emojipacks/master/packs/slackmojis-meme.yaml"
"https://raw.githubusercontent.com/lambtron/emojipacks/master/packs/slackmojis-party-parrot.yaml"
"https://raw.githubusercontent.com/lambtron/emojipacks/master/packs/animals.yaml"
"https://raw.githubusercontent.com/lambtron/emojipacks/master/packs/officespace.yaml"
"https://raw.githubusercontent.com/lambtron/emojipacks/master/packs/food.yaml"
"https://raw.githubusercontent.com/lambtron/emojipacks/master/packs/octicons.yaml"
"https://raw.githubusercontent.com/izumin5210/emojipack-for-devicon/master/png/devicon.yaml"
"https://raw.githubusercontent.com/snipe/hamsterdance-emojipack/master/hamsterdance.yaml"
)
for f in "${urls[@]}"
do
echo $f
emojipacks -s $subdomain -e $email -p $password -y $f;
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment