A discord bot written in Rust
This bot is personal and isn't meant to be used by others
The documentation for this project is located at doc/rbot-discord
To run this bot, just fill a new .env file at the root directory of the project with your information Run the diesel migrations and use cargo run.
token=<THE_DISCORD_BOT_TOKEN>
DATABASE_URL=postgres://<user>:<password>@localhost/discordbot
Install the diesel-cli with: cargo install diesel_cli --no-default-features --features postgres
and run the migrations: diesel migration run
cargo run
Build the docker image and start it as a service
docker build . -t greefine/discord-rbot
docker service create --network host --name discordbot greefine/discord-rbot
Note: don't forget the .env before building !