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.
rustuptoolchain- An internet connection
- Run
git cloneon this repository to get a local copy - Build a release version of this program by running
cargo build --release - Put the
.env.exampleinto a directory with your exectuable, and rename it to.env. - Replace
DISCORD_TOKENwith your discord token andAPI_KEYwith an API key from https://openweathermap.org/ - Run the executable and pray that my code is not horrendous