Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 

Repository files navigation

Azoth

Discord bot made in Rust

Currently available commands

  • ~ping replies back with a pong
  • ~github <username> | ~gh <username>: adds new user to be tracked for github pings, uses the userid of the user of the command to ping them
  • ~github_remove | ~ghrm: removes the user by discord id from the list of tracked users
  • ~quiz <difficulty=easy>: gets random question from the open trivia database, can pass in a difficutly, either easy, medium, or hard. will by default fetch easy questions
  • ~scores: displays the scores of everyone who has used the bot

Done

  • Run the code in the github command on a timer and auto send message based on result
    • Can add or remove accounts to check
    • Need to customize message based on response from github
    • Saves users to checks somewhere so that the bot does not reset
    • Loads data so that the bot does not reset
  • quiz gets 1 question from the trivia API and person who requested the original question can answer
    • as prototype, get a question from the database
      • questions can be answered as a react
      • questions can be answered from dropdown (need to check discord api to see how that is doable, example from Aether Hunts discord server)
      • handles true/false and multiple choice questions

Potential Future Additions

  • Recurring Changes
    • Is able to give a schedule of when to ping instead of it being duration based (i.e. a cron schedule)
  • Quiz Changes
    • need to fix the output with special characters (like quotes) in discord message
    • create a full game
      • custom player length
      • keep track of players score during game
      • keep track of whose turn it is, random people cant interfere with answers
    • keep single quiz questions but make them random difficulty

About

Discord bot made in Rust

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages