-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a trivia game #19
Conversation
…into feature/trivia
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are my initial looks at the code.
The command needs to be added to the README and /help
.
Also these triviaLists look really big, including them in the repository, hmm will think about it.
…rivia following code review
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PR almost looks good, I need to look more closely at the trivia, since that's the most complex part, but this is what I can see right now.
Co-authored-by: Ibrahim Ansari <retrixe@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Went through the trivia and found a whole bunch of issues, hopefully it's in good shape afterwards, but there might be other problems and redundancy I might find, hopefully not many more reviews will be required after this one.
Co-authored-by: Ibrahim Ansari <retrixe@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Found more potential errors and bugs and stuff that could be cleaned up, and left patches for the constructor changes I suggested.
Co-authored-by: Ibrahim Ansari <retrixe@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the PR is in pretty good shape now, just need to resolve existing reviews, test and merge.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed broken await.
Co-authored-by: Ibrahim Ansari <retrixe@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add medals like so when the game ends.
Co-authored-by: Ibrahim Ansari <retrixe@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alright, everything seems to be well done now!
- We could use fuse.js for answer matching so typos and mistakes would be alright.
- The way trivia lists are distributed is not ideal.
- The flag soup for the command is kinda gross.
But all in all it's good enough to merge now.
This adds a fun trivia game to the bot, with customizable settings and many different topics.