This is a template for creating a Discord bot using Rust and the Serenity library
Download and install cargo-generate
by running cargo install cargo-generate
.
If you want to learn more about cargo-generate, take a look at their repo
Then just run cargo generate --git https://github.com/chilipepperhott/discord-bot-template.git
and follow the directions
The template accepts the token via the environment. It also accepts a .env
file.