https://github.com/freedomben/simple_rafflebot
https://github.com/freedomben/simple_rafflebot
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/freedomben/simple_rafflebot
- Owner: FreedomBen
- Created: 2015-05-03T20:13:35.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-11-17T04:35:47.000Z (over 10 years ago)
- Last Synced: 2025-02-16T14:59:13.243Z (over 1 year ago)
- Language: Ruby
- Size: 1.95 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Simple Raffle Bot!
Simple Raffle Bot simply picks a "winner" from the people in the channel. It is triggered by typing any chat that starts with "rafflebot" into slack.
## To run the bot
1. Run `bundle install`
2. [Get a slack token](https://github.com/FreedomBen/slackbot_frd#step-1)
3. [Set your token](https://github.com/FreedomBen/slackbot_frd#step-2). Either edit `slackbot-frd.conf` and put it there, or set the environment variable:
```
export SLACKBOT_FRD_TOKEN=""
```
4. Run the bot (from the root directory, or where `ls` reveals the `bots` folder):
```
slackbot-frd start
```
## Extra Info
Simple Raffle bot is built on top of [slackbot_frd](https://github.com/FreedomBen/slackbot_frd)
For a more fully featured raffle bot, see [Raffle Bot](https://github.com/FreedomBen/rafflebot)