Get a random image from Imgur in a Slack Channel, with Slack Outgoing WebHooks.
Create a Slack Outgoing WebHooks, select a channel, set a trigger word and add slack-imgur.herokuapp.com to URL(s) field.
Call a random image from Imgur (if you set imgur
as trigger word)
imgur
Get a random image tagged with the tag called lolcat
imgur lolcat
Clone the repository and run gunicorn
gunicorn app:app --log-file=- --reload -b address:port