This project is built with the event handler example. Built on windows... deal with it ๐
- Make sure the bot is made in Discord Developer Portal
- In the 4th page, labelled bot, keep your token safe as that will be needed below.
- Make sure the Privileged Gateway Intents are all toggled,
- PRESENCE INTENT
- SERVER MEMBERS INTENT
- MESSAGE CONTENT INTENT
- Make sure you got Rust language on your computer!
- Add compatible formats of bibles into the bibles folder. an example is here sample formats
go to the root of the project and.. use
cargo build --example event_handler
for CMD use
set DISCORD_TOKEN=tokenstring && target\debug\examples\event_handler.exe
for Powershell use
($env:DISCORD_TOKEN='tokenstring') -and (target\debug\examples\event_handler.exe)