This is just a simple bot that I decided to make for fun, grabs weather information using a slash command. Unfortunately I cannot host this for other people since the API I am using is limited to 60 requests a minute, which could get quickly overloaded.
rustup
toolchain- An internet connection
- Run
git clone
on this repository to get a local copy - Build a release version of this program by running
cargo build --release
- Put the
.env.example
into a directory with your exectuable, and rename it to.env
. - Replace
DISCORD_TOKEN
with your discord token andAPI_KEY
with an API key from https://openweathermap.org/ - Run the executable and pray that my code is not horrendous