Random Wapuus in Slack

This one’s pretty simple, but if you have admin access to your team’s Slack account, you can use Slackbot to add automatic replies to keyword matches. If you’re a WordPress team, you’re likely familiar with the lovable Wapuu. To generate a random Wapuu bot post whenever a Wapuu is ordered up:

  1. Grab the latest list of Wapuu filenames from the repo on Github
  2. Drop any .ai or .svg files from the list, as Slack doesn’t automatically show them
  3. Append the full file server URL to the front of each filename
  4. Go to your Slackbot management area at yourteamname.slack.com/customize/slackbot
  5. Add a keyword match for “wapuu” or something more specific like “gimme wapuu”
  6. Paste that list of Wapuu URLs into the response area
  7. Save
  8. Go into any Slack channel and test your command

Now, you’re not serving up a live list of Wapuu from the repo so you run the risk of one being removed or renamed, and you’ll be missing any new ones. I wasn’t getting fancy here. Better would be to write a randomizer on your own host, to grab the list dynamically, then just use that single URL in the bot response. But this works.

The list as it exists today:

https://raw.githubusercontent.com/jawordpressorg/wapuu/gh-pages/wapuu-archive/WapuuPepa.png
https://raw.githubusercontent.com/jawordpressorg/wapuu/gh-pages/wapuu-archive/WapuuPepe.png
https://raw.githubusercontent.com/jawordpressorg/wapuu/gh-pages/wapuu-archive/basile-wapuu.png
https://raw.githubusercontent.com/jawordpressorg/wapuu/gh-pages/wapuu-archive/benpuu.png
https://raw.githubusercontent.com/jawordpressorg/wapuu/gh-pages/wapuu-archive/canvas-wapuu.png
https://raw.githubusercontent.com/jawordpressorg/wapuu/gh-pages/wapuu-archive/cheesesteak-wapuu.png
https://raw.githubusercontent.com/jawordpressorg/wapuu/gh-pages/wapuu-archive/dokuganryu-wapuu.png
https://raw.githubusercontent.com/jawordpressorg/wapuu/gh-pages/wapuu-archive/edinburgh-wapuu.png
https://raw.githubusercontent.com/jawordpressorg/wapuu/gh-pages/wapuu-archive/eduwapuu.png
https://raw.githubusercontent.com/jawordpressorg/wapuu/gh-pages/wapuu-archive/fes-wapuu.png
https://raw.githubusercontent.com/jawordpressorg/wapuu/gh-pages/wapuu-archive/heian-wapuu.png
https://raw.githubusercontent.com/jawordpressorg/wapuu/gh-pages/wapuu-archive/kani-wapuu.png
https://raw.githubusercontent.com/jawordpressorg/wapuu/gh-pages/wapuu-archive/krimpet-wapuu.png
https://raw.githubusercontent.com/jawordpressorg/wapuu/gh-pages/wapuu-archive/maikochan-and-wapuu.png
https://raw.githubusercontent.com/jawordpressorg/wapuu/gh-pages/wapuu-archive/manchester-wapuu.png
https://raw.githubusercontent.com/jawordpressorg/wapuu/gh-pages/wapuu-archive/masuzushi-wapuu.png
https://raw.githubusercontent.com/jawordpressorg/wapuu/gh-pages/wapuu-archive/matsuri-wapuu.png
https://raw.githubusercontent.com/jawordpressorg/wapuu/gh-pages/wapuu-archive/mineiro-wapuu.png
https://raw.githubusercontent.com/jawordpressorg/wapuu/gh-pages/wapuu-archive/okita-wapuu.png
https://raw.githubusercontent.com/jawordpressorg/wapuu/gh-pages/wapuu-archive/onsen-wapuu.png
https://raw.githubusercontent.com/jawordpressorg/wapuu/gh-pages/wapuu-archive/original-wapuu.png
https://raw.githubusercontent.com/jawordpressorg/wapuu/gh-pages/wapuu-archive/pretzel-wapuu.png
https://raw.githubusercontent.com/jawordpressorg/wapuu/gh-pages/wapuu-archive/rocky-wapuu.png
https://raw.githubusercontent.com/jawordpressorg/wapuu/gh-pages/wapuu-archive/scott-wapuu.png
https://raw.githubusercontent.com/jawordpressorg/wapuu/gh-pages/wapuu-archive/shachihoko-wapuu.png
https://raw.githubusercontent.com/jawordpressorg/wapuu/gh-pages/wapuu-archive/shikasenbei-wapuu.png
https://raw.githubusercontent.com/jawordpressorg/wapuu/gh-pages/wapuu-archive/sweden-wapuu.png
https://raw.githubusercontent.com/jawordpressorg/wapuu/gh-pages/wapuu-archive/swiss-wapuu.png
https://raw.githubusercontent.com/jawordpressorg/wapuu/gh-pages/wapuu-archive/sydney-wapuu.png
https://raw.githubusercontent.com/jawordpressorg/wapuu/gh-pages/wapuu-archive/taekwon-blue-wapuu.png
https://raw.githubusercontent.com/jawordpressorg/wapuu/gh-pages/wapuu-archive/taekwon-red-wapuu.png
https://raw.githubusercontent.com/jawordpressorg/wapuu/gh-pages/wapuu-archive/takoyaki-wapuu.png
https://raw.githubusercontent.com/jawordpressorg/wapuu/gh-pages/wapuu-archive/tampa-gasparilla-wapuu.png
https://raw.githubusercontent.com/jawordpressorg/wapuu/gh-pages/wapuu-archive/tonkotsu-wapuu.png
https://raw.githubusercontent.com/jawordpressorg/wapuu/gh-pages/wapuu-archive/wapevil-wapuu.png
https://raw.githubusercontent.com/jawordpressorg/wapuu/gh-pages/wapuu-archive/wapmas-wapuu.png
https://raw.githubusercontent.com/jawordpressorg/wapuu/gh-pages/wapuu-archive/wapuda-shingen.png
https://raw.githubusercontent.com/jawordpressorg/wapuu/gh-pages/wapuu-archive/wapumura-kenshin.png
https://raw.githubusercontent.com/jawordpressorg/wapuu/gh-pages/wapuu-archive/wapuu-brainhurts.png
https://raw.githubusercontent.com/jawordpressorg/wapuu/gh-pages/wapuu-archive/wapuu-cheesehead.png
https://raw.githubusercontent.com/jawordpressorg/wapuu/gh-pages/wapuu-archive/wapuu-cosplay.png
https://raw.githubusercontent.com/jawordpressorg/wapuu/gh-pages/wapuu-archive/wapuu-der-ber.png
https://raw.githubusercontent.com/jawordpressorg/wapuu/gh-pages/wapuu-archive/wapuu-dev.png
https://raw.githubusercontent.com/jawordpressorg/wapuu/gh-pages/wapuu-archive/wapuu-france-hd.png
https://raw.githubusercontent.com/jawordpressorg/wapuu/gh-pages/wapuu-archive/wapuu-france.png
https://raw.githubusercontent.com/jawordpressorg/wapuu/gh-pages/wapuu-archive/wapuu-guitar.png
https://raw.githubusercontent.com/jawordpressorg/wapuu/gh-pages/wapuu-archive/wapuu-hampton-roads.png
https://raw.githubusercontent.com/jawordpressorg/wapuu/gh-pages/wapuu-archive/wapuu-heropress.png
https://raw.githubusercontent.com/jawordpressorg/wapuu/gh-pages/wapuu-archive/wapuu-hipster.png
https://raw.githubusercontent.com/jawordpressorg/wapuu/gh-pages/wapuu-archive/wapuu-magic.png
https://raw.githubusercontent.com/jawordpressorg/wapuu/gh-pages/wapuu-archive/wapuu-minion.png
https://raw.githubusercontent.com/jawordpressorg/wapuu/gh-pages/wapuu-archive/wapuu-moto.png
https://raw.githubusercontent.com/jawordpressorg/wapuu/gh-pages/wapuu-archive/wapuu-nyc.png
https://raw.githubusercontent.com/jawordpressorg/wapuu/gh-pages/wapuu-archive/wapuu-orange.png
https://raw.githubusercontent.com/jawordpressorg/wapuu/gh-pages/wapuu-archive/wapuu-pixar.png
https://raw.githubusercontent.com/jawordpressorg/wapuu/gh-pages/wapuu-archive/wapuu-pizza.png
https://raw.githubusercontent.com/jawordpressorg/wapuu/gh-pages/wapuu-archive/wapuu-poststatus.png
https://raw.githubusercontent.com/jawordpressorg/wapuu/gh-pages/wapuu-archive/wapuu-sleepy-wordcamp.png
https://raw.githubusercontent.com/jawordpressorg/wapuu/gh-pages/wapuu-archive/wapuu-snitch.png
https://raw.githubusercontent.com/jawordpressorg/wapuu/gh-pages/wapuu-archive/wapuu-spy.png
https://raw.githubusercontent.com/jawordpressorg/wapuu/gh-pages/wapuu-archive/wapuu-struggle.png
https://raw.githubusercontent.com/jawordpressorg/wapuu/gh-pages/wapuu-archive/wapuu-torque.png
https://raw.githubusercontent.com/jawordpressorg/wapuu/gh-pages/wapuu-archive/wapuu-travel.png
https://raw.githubusercontent.com/jawordpressorg/wapuu/gh-pages/wapuu-archive/wapuu-tron.png
https://raw.githubusercontent.com/jawordpressorg/wapuu/gh-pages/wapuu-archive/wapuu-unipiper.png
https://raw.githubusercontent.com/jawordpressorg/wapuu/gh-pages/wapuu-archive/wapuu-wptavern.png
https://raw.githubusercontent.com/jawordpressorg/wapuu/gh-pages/wapuu-archive/wapuujlo.png
https://raw.githubusercontent.com/jawordpressorg/wapuu/gh-pages/wapuu-archive/wapuunder.png
https://raw.githubusercontent.com/jawordpressorg/wapuu/gh-pages/wapuu-archive/wapuushkin-wapuu.png
https://raw.githubusercontent.com/jawordpressorg/wapuu/gh-pages/wapuu-archive/wapuutah-wapuu.png
https://raw.githubusercontent.com/jawordpressorg/wapuu/gh-pages/wapuu-archive/wck-wapuu.png
https://raw.githubusercontent.com/jawordpressorg/wapuu/gh-pages/wapuu-archive/wct2012.png
https://raw.githubusercontent.com/jawordpressorg/wapuu/gh-pages/wapuu-archive/wct2013.png
https://raw.githubusercontent.com/jawordpressorg/wapuu/gh-pages/wapuu-archive/wctokyo_wapuu.png