Slack bot written in Rust for creating and voting on song competitions based on a current theme.
- docker compose
- Kubernetes
- ...?
- Rust
- Diesel
- PostgreSQL
Create and manage the process up until the point where a poll should be made.
Available commands
For the weekly admin
/sotw start <description>
start a new competition with the given description/sotw stop
stop the current active competition
For everyone else (including weekly admin)
/sotw list
list all songs in the currently active competition/sotw song <url>
this will add a song to this weeks contest/sotw vote <song_id>
vote for a song currently in the active competition,- calling song again will overwrite prior contribution
/sotw info
get information
Planned or possible features:
- Create polls
- Create polls from existing polls (needs an API?)
- Web view of current and past competitions
Install diesel-cli for running migrations
$ cargo install diesel_cli --no-default-features --features postgres
Use ngrok to give outside access to bot from localhost.
Building a release can be done inside of a docker container.
docker build -t sotw-dev .