Skip to content
/ sw-bot Public

Sketchware Pro's discord bot built using rust with the serenity library

Notifications You must be signed in to change notification settings

iyxan23/sw-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sketchware Pro's Discord Bot

Sketchware Pro's discord bot re-written in rust. The old python code can be located on the branch python-legacy.

Running

We do not nor planning on distributing any binaries for this bot, so you will need to build it yourself.

  1. Install rust
  2. Run
    $ cargo build --release
  3. Navigate to the directory target/release
  4. 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
  5. Have fun with the bot

Why rewrite to rust?

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.

About

Sketchware Pro's discord bot built using rust with the serenity library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages