Want to take your software engineering career to the next level? Join the mailing list for career tips & advice Click here


A Tox trivia bot written in Rust

Subscribe to updates I use rustybot

Statistics on rustybot

Number of watchers on Github 11
Number of open issues 0
Main language Rust
Open pull requests 0+
Closed pull requests 0+
Last commit almost 4 years ago
Repo Created over 4 years ago
Repo Last Updated over 3 years ago
Size 7.49 MB
Organization / Authorjfreegman
Page Updated
Do you use rustybot? Leave a review!
View rustybot activity
View on github
Fresh, new opensource launches 🚀🚀🚀
Software engineers: It's time to get promoted. Starting NOW! Subscribe to my mailing list and I will equip you with tools, tips and actionable advice to grow in your career.
Evaluating rustybot for your project? Score Explanation
Commits Score (?)
Issues & PR Score (?)


rustybot is a Tox groupchat trivia bot written in Rust.


rustybot is capable of playing multiple games at once in any number of groups. Player statistics including total points accumulated, rounds won, and games won, are stored in a database and persist across restarts. Tox ID's are used as database keys, which means peers will always be tied to the same entry as long as their Tox ID doesn't change.

She comes with a giant list of trivia questions of varying degrees of obscurity in data/questions. The default list can easily be replaced or modified as long as questions and answers are divided by the ` character and each line ends in a \n byte.

Usage and ownership

rustybot automatically accepts friend requests and group invites. The person who invites her to the group becomes her owner for that group and may use privileged commands. Additionally, all Tox ID's contained in the data/masterkeys file are her permanent owners and may use privileged commands in any group.

Non-privileged commands

  • !help - Print a list of non-privileged commands
  • !hint - Display a hint for the current question
  • !source - Link to the source code
  • !score - Print your score
  • !stats - Print the leaderboard
  • !trivia - Begin a game of trivia

Privileged commands

  • !quit - Leave the groupchat
  • !stop - End the current trivia game
  • !disable - Disables the trivia command
  • !enable - Enables the trivia command

Compiling and running

cargo build && cargo run or just cargo run

rustybot list of languages used
Other projects in Rust