Discord bot made in Rust
~pingreplies 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, eithereasy,medium, orhard. will by default fetch easy questions~scores: displays the scores of everyone who has used the bot
- Run the code in the
githubcommand 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
-
quizgets 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
- as prototype, get a question from the database
- 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