Add animated Pokemon as custom emoji to your Slack.
Images sourced using the PokeAPI.
gifsicle
wget
make
Test my tool out on just a few Pokemon:
make test
First, grab whichever Pokemon you want:
# "Only the original 151 were real Pokemon!"
make gen1
or
# "I only like games evenly divisible by two!"
make gen2
make gen4
make gen6
or
# "Only Pikachu and Raichu, please!"
./get_gifs.sh 25 26
Then, POST the GIFs to Slack, using a tool such as https://github.com/smashwilson/slack-emojinator
git clone https://github.com/smashwilson/slack-emojinator.git
cd slack-emojinator
mkvirtualenv slack-emojinator
pip install -r requirements.txt
# Store your Slack's team name and most recent cookie in environment variables
export SLACK_TEAM=${YOUR_TEAM_NAME}
export SLACK_COOKIE=${YOUR_SLACK_COOKIE}
python upload.py ../pkmn/*