stargazer

command module
v0.0.0-...-61b75d5 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2015 License: MIT Imports: 7 Imported by: 0

README

Stargazer

Stargazer is a Slack bot that watches for stars on your messages and report them to you.

Build Status

Build

go get github.com/bfontaine/stargazer

Run

$ TOKEN=your-slack-token stargazer

FAQ

How do I get a token?
  1. Go on your team’s Slack URL, and on the “Integrations” page, search for the “bots” integration. If your team is e.g. foobar, the URL is https://foobar.slack.com/services/new/bot.
  2. Choose a name for your bot. Don’t worry, you can change it later.
  3. Your token is on the bot page.

How do I get the bot to report stars to me?

The bot works with a whitelist, not to annoy everybody by default. Send it a private message saying “enable”, and it should enable the reporting for you.

You can later disable this by sending it “disable”.

Hacking

Stargazer doesn’t currently have a public API. You can however contribute to this repository :)

Make sure tests pass with the following command:

$ STARGAZER_TESTING=1 go test ./...

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Godeps
_workspace/src/github.com/stretchr/testify/assert
A set of comprehensive testing tools for use with the normal Go testing system.
A set of comprehensive testing tools for use with the normal Go testing system.
_workspace/src/github.com/stretchr/testify/require
Alternative testing tools which stop test execution if test failed.
Alternative testing tools which stop test execution if test failed.
_workspace/src/github.com/vrischmann/envconfig
Package envconfig implements a configuration reader which reads each value from an environment variable.
Package envconfig implements a configuration reader which reads each value from an environment variable.
_workspace/src/golang.org/x/net/websocket
Package websocket implements a client and server for the WebSocket protocol as specified in RFC 6455.
Package websocket implements a client and server for the WebSocket protocol as specified in RFC 6455.

Jump to

Keyboard shortcuts

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