pokeybot

command module
v0.0.0-...-dbde576 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 21, 2015 License: MIT Imports: 7 Imported by: 0

README

pokeybot

Pokey the Penguin comic Slack integration (Slash Command + Incoming Webhooks)

Type "/pokey" in slack for a random Pokey comic!

Runs on Heroku + Postgres

Dependencies

Requires the Heroku go buildpack

heroku create -b https://github.com/kr/heroku-buildpack-go.git

Requires godep

go get github.com/kr/godep

godep save

Requires the following environment variables:

| Environment Variable | Description | Example | |-------------------------|---------------------------------------------------------------------|-------------------------------------------------------|---|---| | DATABASE_URL | URL for Postgres database | postgres://abc:xyz@example.com:1234/mydatabase | | PGSSL | Set to "require" on Heroku | require | | SECRET_KEY_POKEY | Secret key required for API calls that make changes to the database | abc123!@# | | SLACK_TOKEN_POKEY | Slack token for the Slash Command integration | def456$%^ | | SLACK_WEBHOOK_URL_POKEY | Slack Incoming Webhooks URL | https://hooks.slack.com/services/abc123/def456/xyz789 |

Requires custom Slack emojis :pokey:, :littlegirl:, :mrnutty:, and :skeptopotamus:

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
db

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL