blindbot
Blindbot is a Slack bot to play participative blindtest: players submit challenges and play, blindbot do the rest.
Use it
Submit a Youtube link:
/submit https://www.youtube.com/watch?v=oHg5SJYRHA0 "possible answer 1,possible answer 2,..." "hints"
Blindbot converts new submission into an MP3 sample hosted on its server. Then it posts the new challenge in the blindtest
channel with an anonymised link.
When a player gives a right answer in the challenge's thread, blindbot adds an emoji to let other players know this challenge is completed.
Incoming features
- Statistics (best player, best submitter, per day, per week).
- Spotify integration
- Clean up files after a timeout (e.g. 2 weeks)
- Draw an icon for blindbot
- Web view for statistics.
Run it
Configure the following variables in update-and-deploy.sh:
DOMAIN_NAME="example.org" # your server domain name
SLACK_KEY="XXXXX..." # Bot User OAuth Access Token
SLACK_OAUTH2_KEY="XXXXXXXXXX..." # OAuth Access Token
SLACK_MASTER="master.email@domain.com" # your email (gives logging and advanced command in Slack)
Then run it:
./update-and-deploy.sh
# or a particular version
VERSION=v0.3.0 ./update-and-deploy.sh
Notes
The following folders will be created:
db/
- the database.
music/
- where musics are stored.
cred/
- https certificate.