https://github.com/freedomben/dictionary_bot
A simple slack bot that looks up words for you
https://github.com/freedomben/dictionary_bot
Last synced: about 1 year ago
JSON representation
A simple slack bot that looks up words for you
- Host: GitHub
- URL: https://github.com/freedomben/dictionary_bot
- Owner: FreedomBen
- Created: 2015-05-16T04:53:42.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-05-16T04:59:29.000Z (about 11 years ago)
- Last Synced: 2025-02-16T15:14:50.898Z (over 1 year ago)
- Language: Ruby
- Size: 113 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Dictionary Bot
This is a simple bot that listens in slack for a command that looks like this:
define
or:
definition for
The bot then queries the Merriam Webster API, formats the results in a pretty looking slack response, and sends it to the channel.
That's it!
## Running the Bot
You'll need [a slack token](https://github.com/FreedomBen/slackbot_frd#step-1), and an API token from [Merriam Webster](http://www.dictionaryapi.com/).
Open up `slackbot-frd.conf` and add your tokens appropriately. Then make sure to `bundle install`:
bundle install
Then run the bot with:
slackbot-frd start
*Note:* This bot is built on top of [slackbot_frd](https://github.com/FreedomBen/slackbot_frd)