-
-
Notifications
You must be signed in to change notification settings - Fork 256
Add "math" and "science" categories to the .quiz
command (and more in desc)
#726
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
Merged
Merged
Changes from all commits
Commits
Show all changes
62 commits
Select commit
Hold shift + click to select a range
4c3312a
Add 30 math questions and 30 science questions to trivia_quiz.json
Objectivitix 93331ac
Merge pull request #1 from Objectivitix/Objectivitix-patch-1
Objectivitix 113a20a
Implement the math and science questions, added a dynamic_id checker
Objectivitix 9e6004f
fix NameError, add some forgotten imports
Objectivitix fc80051
Merge pull request #2 from Objectivitix/Objectivitix-patch-1
Objectivitix 0913bf2
Add dynamically generated science questions
Objectivitix c940d96
Add dynamic question formatters and its constants
Objectivitix 75847f0
Merge pull request #3 from Objectivitix/Objectivitix-patch-1
Objectivitix b80588d
Fix lint failures: adding docstrings, removing whitespace
Objectivitix c742604
Fix wrong import order lint failure
Objectivitix c586312
Merge branch 'main' into main
Objectivitix 92dd10e
fixed weird 8-space indents on lines 556-558
Objectivitix 1854cd4
use random.sample for more concise expression on line 66
Objectivitix 961e3f7
use dict.get for retrieving a default value instead of a condition
Objectivitix c57a855
use `operator` module instead of lambda functions
Objectivitix bfc7c43
lint failure fix, imported in alphabetical order
Objectivitix 6648099
use binary formatting instead of `bin()` in function
Objectivitix 8b0eb4a
delete `bin()`s
Objectivitix f8e5ec9
add space at the end of string on line 435
Objectivitix 9d5ea92
remove redundant `description` kwarg pass
Objectivitix af70930
use walrus so dict lookup is only performed once
Objectivitix 17aee21
changed error embed color to `bot.constants.Colours.soft_red`
Objectivitix 84f2b87
add a space at end of string on line 245
Objectivitix 21282d5
reverted all undesired black formatting changes
Objectivitix 675d2a0
fix lint failure; add a newline at line 444
Objectivitix 2cd8c03
fix another linting fail regarding newlines in docstrings
Objectivitix 9c1dc83
docstring tweaks; consistency and imperative mood
Objectivitix cb49ea2
did some changes per the new reviews and suggestions
Objectivitix 1f0231d
add gold colour
Objectivitix a3cf147
use gold colour from constants.py for consistency
Objectivitix 5320a38
minor tweaks as suggested by vcokltfre
Objectivitix 7bbf7b1
fixed no description embed error
Objectivitix 2e58fca
reduce default no of questions to 7, add actual content to "Remaining…
Objectivitix 119f084
fix bug where remaining questions go up instead of down
Objectivitix f22cebc
increase readability, fix lint failure
Objectivitix d2e1d52
forgot to increment by one, fixed
Objectivitix 1012c8b
final minor refinery as requested by vcokltfre
Objectivitix d7e3937
Update bot/exts/evergreen/trivia_quiz.py
Objectivitix f8ea21f
remove redundant parentheses
Objectivitix 5f92427
apply some changes suggested by Shivansh-007
Objectivitix f01a0f3
Merge branch 'main' into main
Objectivitix 6040e35
make vartol stricter when it's a generated question
Objectivitix aab59b1
lint failure fixes
Objectivitix 3f03885
fix original copy paste error in math question
Objectivitix fa0f365
add one more correct answer to science (q328)
Objectivitix d2754ce
made comment more precise as described by decorator-factory
Objectivitix 5241fc8
change weird google docs unicode to standard ones
Objectivitix 91db03e
fix copy paste error
Objectivitix febe3e7
fix unicode corruption errors by encoding to utf-8
Objectivitix 8ee99da
fix ANOTHER copy paste error
Objectivitix 4448f0d
add one more possible answer to math q208
Objectivitix 358e564
fix inconsistency of hexadecimal letter cases in Colours class
Objectivitix 4430760
0 as an input to `questions` would now also raise an error
Objectivitix cb3b7a3
make the error embed change accordingly if DQL constant is modified
Objectivitix 8f4911a
quality-of-life refinery
Objectivitix 7df1d38
fix 4th copy paste error
Objectivitix b125a1a
change the unsolvable math question to a linalg question
Objectivitix 62345be
implement decorator-factory's changes
Objectivitix b090b15
add a docstring to the dataclass
Objectivitix cf513eb
fix the QuizEntry dataclass
Objectivitix aa3a386
delete trailing whitespace after docstring
Objectivitix 07b5f29
Merge branch 'main' into main
Objectivitix File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.