Sketchware Pro's discord bot re-written in rust. The old python code can be located on the branch python-legacy
.
We do not nor planning on distributing any binaries for this bot, so you will need to build it yourself.
- Install rust
- Run
$ cargo build --release
- Navigate to the directory
target/release
- And run the bot with the
DISCORD_BOT_TOKEN
variable (make sure to change the variable to be your own bot's token)$ DISCORD_BOT_TOKEN="discord bot token" ./sw-bot
- Have fun with the bot
If you haven't seen yet, discord.py is not maintained anymore and we will need to switch to another library that's still maintained. discord.js is a good option but I'm currently in the interest of learning rust.. so, I chose the serenity rust library to re-write this bot.