Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 749 Bytes

File metadata and controls

15 lines (11 loc) · 749 Bytes

slack-age

This is code for a Slack App running in Cloudflare. It adds a slash command /age that generates customized Age of Empires memes. Meme images are generated using the imgflip API.

To deploy you will need:

In Cloudflare, set the following environment variables for the worker. It is recommended that you encrypt these environment variables.

  • APP_IMGFLIP_PASS - imgflip Password
  • APP_IMGFLIP_USER - imgflip Username
  • APP_SLACK_SIGNING_SECRET - Slack App Signing Secret
  • APP_SLACK_TOKEN - Slack App Token