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: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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
⌂ 换网址