Sha256: 297f0f7b7685f594b6b3894ef9649b389ad57c484e0bfbdd22621ca79902f59a

Contents?: true

Size: 793 Bytes

Versions: 3

Compression:

Stored size: 793 Bytes

Contents

# "down for everyone or just me" bot

an example bot using [slack-bot-manager](https://github.com/betaworks/slack-bot-manager)

slack-bot-manager depends on `redis` and `slack-ruby-client`

# setup

1. get a free key for the [Bing Web-Only Search API](https://datamarket.azure.com/dataset/bing/searchweb)
2. your key will be under "My Account > Account Keys"
3. `touch .env` and then add the Bing key and your Slackbot token to `.env`
4. `ruby bot.rb`

# usage

`is [site] up` or `is [site] down`

site can be a url (like `google.com`) or a word (like `facebook`). using a word can be more time intensive and potentially less accurate, since it queries the [DuckDuckGo API
](https://api.duckduckgo.com/api) and Bing as a backup.

# credit

created by [Alex Baldwin](https://github.com/goosey)

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
slack-bot-manager-0.1.0pre5 examples/downforeveryone-bot/README.md
slack-bot-manager-0.1.0pre4 examples/downforeveryone-bot/README.md
slack-bot-manager-0.1.0pre3 examples/downforeveryone-bot/README.md