A Slack Bot that pulls Pixiv information and posts the full image(s) into Slack, with iOS shortcuts.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

924 B

Installation

Create a new Bot Integration under services/new/bot.

On the next screen, note the API token.

Environment

SLACK_API_TOKEN

Set SLACK_API_TOKEN from the Bot integration settings on Slack.

heroku config:add SLACK_API_TOKEN=...

GIPHY_API_KEY

The bot replies with animated GIFs. While it's currently not necessary, you may need to set GIPHY_API_KEY in the future, see github.com/Giphy/GiphyAPI for details.

SLACK_RUBY_BOT_ALIASES

Optional names for this bot.

heroku config:add SLACK_RUBY_BOT_ALIASES=":pong: table-tennis ping-pong"

Heroku Idling

Heroku free tier applications will idle. Either pay 7$ a month for the hobby dyno or use UptimeRobot or similar to prevent your instance from sleeping or pay for a production dyno.