All Projects → JFreegman → rustybot

JFreegman / rustybot

Licence: GPL-3.0 License
A Tox groupchat trivia bot

Programming Languages

rust
11053 projects

Projects that are alternatives of or similar to rustybot

spec
Tox Protocol Specification
Stars: ✭ 29 (+123.08%)
Mutual labels:  tox, toxcore
open-trivia-app
A single or multiplayer (local) trivia game made with Vue.js.
Stars: ✭ 63 (+384.62%)
Mutual labels:  trivia, trivia-game
jvm-toxcore-c
JVM (Java/Scala/Kotlin) bindings to toxcore
Stars: ✭ 33 (+153.85%)
Mutual labels:  tox, toxcore
Trivia-Knowledge
Trivia knowledge is a fun trivia game in which players have to guess the answers of questions by filling the answers boxes with correct letters.
Stars: ✭ 77 (+492.31%)
Mutual labels:  trivia, trivia-game
ToxBlinkenwall
ToxBlinkenwall - VideoConferencing with Tox
Stars: ✭ 16 (+23.08%)
Mutual labels:  tox, toxcore
pytoxcore
Python binding for ToxCore
Stars: ✭ 37 (+184.62%)
Mutual labels:  tox, toxcore
a trivia game
A minigame where you answer trivia questions
Stars: ✭ 27 (+107.69%)
Mutual labels:  trivia, trivia-game
minitox
Minimal client for Tox
Stars: ✭ 65 (+400%)
Mutual labels:  tox, toxcore
touchdesigner-hueControl
Components for controlling hue lights from TouchDesigner
Stars: ✭ 31 (+138.46%)
Mutual labels:  tox
toktok-stack
A snapshot of the complete software stack (excluding some external libraries and programs)
Stars: ✭ 12 (-7.69%)
Mutual labels:  tox
publishing-python-packages
Examples and exercises for Publishing Python Packages from Manning Books 🐍 📦 ⬆️
Stars: ✭ 25 (+92.31%)
Mutual labels:  tox
isotoxin
Isotoxin source
Stars: ✭ 69 (+430.77%)
Mutual labels:  tox
limnoria-plugins
Limnoria plugins I wrote or forked.
Stars: ✭ 35 (+169.23%)
Mutual labels:  trivia
toktok-android
Tox Android Client
Stars: ✭ 33 (+153.85%)
Mutual labels:  tox
tox-pip-extensions
Augment tox with different installation methods via progressive enhancement.
Stars: ✭ 38 (+192.31%)
Mutual labels:  tox
touchdesigner-save-external
a simple save external tox and text helper
Stars: ✭ 42 (+223.08%)
Mutual labels:  tox
HQ
HQ/Trivia solutions from Agora
Stars: ✭ 62 (+376.92%)
Mutual labels:  trivia
ansible-role-dsvpn
Install and configure dsvpn on your system.
Stars: ✭ 18 (+38.46%)
Mutual labels:  tox
c-toxcore
The future of online communications.
Stars: ✭ 1,730 (+13207.69%)
Mutual labels:  toxcore
integration-test
ensure core packaging tools work well with each other
Stars: ✭ 15 (+15.38%)
Mutual labels:  tox

rustybot

rustybot is a Tox groupchat trivia bot written in Rust.

Features

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 reads questions from the data/questions file which will need to be provided by the owner. Questions and answers must be divided by the ` character and each line must end in a \n byte. An example list can be found here.

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].