aboutsummaryrefslogtreecommitdiffstats
path: root/bot/bot.py (unfollow)
Commit message (Collapse)AuthorLines
2021-05-10make vartol stricter when it's a generated questionGravatar Objectivitix-15/+19
also fixed image not displaying bug
2021-05-10apply some changes suggested by Shivansh-007Gravatar Objectivitix-2/+4
made send_score docstring more precise, added a comment for better understanding, and changed an error embed description
2021-05-10remove redundant parenthesesGravatar Objectivitix-3/+1
Co-authored-by: Shivansh-007 <[email protected]>
2021-05-10Update bot/exts/evergreen/trivia_quiz.pyGravatar Objectivitix-3/+1
Co-authored-by: Shivansh-007 <[email protected]>
2021-05-09final minor refinery as requested by vcokltfreGravatar Objectivitix-4/+13
2021-05-09forgot to increment by one, fixedGravatar Objectivitix-2/+2
2021-05-09increase readability, fix lint failureGravatar Objectivitix-2/+13
2021-05-09fix bug where remaining questions go up instead of downGravatar Objectivitix-2/+2
2021-05-09reduce default no of questions to 7, add actual content to "Remaining ↵Gravatar Objectivitix-4/+5
questions: "
2021-05-09fixed no description embed errorGravatar Objectivitix-0/+1
2021-05-09minor tweaks as suggested by vcokltfreGravatar Objectivitix-9/+7
see their five change requests for details
2021-05-09use gold colour from constants.py for consistencyGravatar Objectivitix-1/+1
2021-05-09add gold colourGravatar Objectivitix-0/+1
2021-05-09did some changes per the new reviews and suggestionsGravatar Objectivitix-27/+22
implemented all suggested changes from vcokltfre and almost all from decorator-factory
2021-05-09docstring tweaks; consistency and imperative moodGravatar Objectivitix-7/+7
2021-05-09fix another linting fail regarding newlines in docstringsGravatar Objectivitix-0/+2
2021-05-09fix lint failure; add a newline at line 444Gravatar Objectivitix-0/+1
2021-05-09reverted all undesired black formatting changesGravatar Objectivitix-34/+13
2021-05-09add a space at end of string on line 245Gravatar Objectivitix-1/+1
2021-05-09changed error embed color to `bot.constants.Colours.soft_red`Gravatar Objectivitix-1/+2
2021-05-09use walrus so dict lookup is only performed onceGravatar Objectivitix-2/+2
Co-authored-by: ToxicKidz <[email protected]>
2021-05-09remove redundant `description` kwarg passGravatar Objectivitix-1/+0
Co-authored-by: ToxicKidz <[email protected]>
2021-05-09add space at the end of string on line 435Gravatar Objectivitix-1/+1
Co-authored-by: ToxicKidz <[email protected]>
2021-05-09delete `bin()`sGravatar Objectivitix-3/+3
2021-05-09use binary formatting instead of `bin()` in functionGravatar Objectivitix-2/+2
2021-05-09lint failure fix, imported in alphabetical orderGravatar Objectivitix-1/+1
2021-05-09use `operator` module instead of lambda functionsGravatar Objectivitix-3/+4
2021-05-09use dict.get for retrieving a default value instead of a conditionGravatar Objectivitix-4/+1
Co-authored-by: ToxicKidz <[email protected]>
2021-05-09use random.sample for more concise expression on line 66Gravatar Objectivitix-2/+1
Co-authored-by: Anand Krishna <[email protected]>
2021-05-07fixed weird 8-space indents on lines 556-558Gravatar Objectivitix-3/+3
2021-05-07Fix wrong import order lint failureGravatar Objectivitix-2/+1
2021-05-07Fix lint failures: adding docstrings, removing whitespaceGravatar Objectivitix-17/+11
2021-05-07Add dynamic question formatters and its constantsGravatar Objectivitix-2/+162
2021-05-07Add dynamically generated science questionsGravatar Objectivitix-9/+13
2021-05-07Update return type hint to reflect new behaviour.Gravatar ChrisJL-1/+1
Co-authored-by: ToxicKidz <[email protected]>
2021-05-07Correct grammer in the new mosaic command outputGravatar Chris-1/+1
2021-05-07Add the number of squares that were used by .mosaicGravatar Chris-1/+1
This is useful for when we round up the number of squares used, users can still see how many were actually used.
2021-05-07Download avatars as size 1024 to avoid very large avatars affecting infraGravatar Chris-4/+4
2021-05-07Switch from fetch_member to fetch_userGravatar Chris-33/+35
This is because discord.py would populate the user portion of the fetched member with cached information which would cause the avatar url not to be updated as we had intended with that function
2021-05-07fix: Add a missing 'not'Gravatar ToxicKidz-1/+1
2021-05-07chore: Get the next perfect squareGravatar ToxicKidz-2/+4
If the amount of squares is not a perfect square, get the next highest perfect square
2021-05-07fix NameError, add some forgotten importsGravatar Objectivitix-1/+2
2021-05-07Implement the math and science questions, added a dynamic_id checkerGravatar Objectivitix-59/+182
2021-05-07Add 30 math questions and 30 science questions to trivia_quiz.jsonGravatar Objectivitix-0/+331
2021-05-06chore: Check if the number of squares first is bigger than the max firstGravatar ToxicKidz-6/+3
Co-authored-by: Anand Krishna <[email protected]>
2021-05-05chore: Use the name AvatarModify instead of PfpModifyGravatar ToxicKidz-1/+1
2021-05-05chore: Prefer double quotes over single quotesGravatar ToxicKidz-9/+9
2021-05-05chore: Fetch the member and use Colours.blue in the embed for the .mosaic ↵Gravatar ToxicKidz-2/+9
command
2021-05-05chore: Add a 5 second cooldown per user to .catifyGravatar ToxicKidz-0/+1
2021-04-30fix: tempelate -> templateGravatar ToxicKidz-1/+1