https://github.com/freedomben/rafflebot
This is a raffle bot built on top of the slackbot_frd gem
https://github.com/freedomben/rafflebot
Last synced: 9 months ago
JSON representation
This is a raffle bot built on top of the slackbot_frd gem
- Host: GitHub
- URL: https://github.com/freedomben/rafflebot
- Owner: FreedomBen
- Created: 2015-04-15T19:03:19.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-11-17T04:37:28.000Z (over 10 years ago)
- Last Synced: 2025-07-01T08:45:11.116Z (11 months ago)
- Language: Ruby
- Size: 26.4 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Raffle Bot!
Raffle Bot simply picks a "winner" from the people in the channel. It is triggered by typing "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
Raffle bot is built on top of [slackbot_frd](https://github.com/FreedomBen/slackbot_frd)