aboutsummaryrefslogtreecommitdiffstats
path: root/bot (follow)
Commit message (Collapse)AuthorAgeLines
* reduce default no of questions to 7, add actual content to "Remaining ↵Gravatar Objectivitix2021-05-09-4/+5
| | | | questions: "
* fixed no description embed errorGravatar Objectivitix2021-05-09-0/+1
|
* minor tweaks as suggested by vcokltfreGravatar Objectivitix2021-05-09-9/+7
| | | see their five change requests for details
* use gold colour from constants.py for consistencyGravatar Objectivitix2021-05-09-1/+1
|
* add gold colourGravatar Objectivitix2021-05-09-0/+1
|
* did some changes per the new reviews and suggestionsGravatar Objectivitix2021-05-09-27/+22
| | | implemented all suggested changes from vcokltfre and almost all from decorator-factory
* docstring tweaks; consistency and imperative moodGravatar Objectivitix2021-05-09-7/+7
|
* fix another linting fail regarding newlines in docstringsGravatar Objectivitix2021-05-09-0/+2
|
* fix lint failure; add a newline at line 444Gravatar Objectivitix2021-05-09-0/+1
|
* reverted all undesired black formatting changesGravatar Objectivitix2021-05-09-34/+13
|
* add a space at end of string on line 245Gravatar Objectivitix2021-05-09-1/+1
|
* changed error embed color to `bot.constants.Colours.soft_red`Gravatar Objectivitix2021-05-09-1/+2
|
* use walrus so dict lookup is only performed onceGravatar Objectivitix2021-05-09-2/+2
| | | Co-authored-by: ToxicKidz <[email protected]>
* remove redundant `description` kwarg passGravatar Objectivitix2021-05-09-1/+0
| | | Co-authored-by: ToxicKidz <[email protected]>
* add space at the end of string on line 435Gravatar Objectivitix2021-05-09-1/+1
| | | Co-authored-by: ToxicKidz <[email protected]>
* delete `bin()`sGravatar Objectivitix2021-05-09-3/+3
|
* use binary formatting instead of `bin()` in functionGravatar Objectivitix2021-05-09-2/+2
|
* lint failure fix, imported in alphabetical orderGravatar Objectivitix2021-05-09-1/+1
|
* use `operator` module instead of lambda functionsGravatar Objectivitix2021-05-09-3/+4
|
* use dict.get for retrieving a default value instead of a conditionGravatar Objectivitix2021-05-09-4/+1
| | | Co-authored-by: ToxicKidz <[email protected]>
* use random.sample for more concise expression on line 66Gravatar Objectivitix2021-05-09-2/+1
| | | Co-authored-by: Anand Krishna <[email protected]>
* fixed weird 8-space indents on lines 556-558Gravatar Objectivitix2021-05-07-3/+3
|
* Merge branch 'main' into mainGravatar Objectivitix2021-05-07-7/+209
|\
| * fix: Add a missing 'not'Gravatar ToxicKidz2021-05-07-1/+1
| |
| * chore: Get the next perfect squareGravatar ToxicKidz2021-05-07-2/+4
| | | | | | | | If the amount of squares is not a perfect square, get the next highest perfect square
| * chore: Check if the number of squares first is bigger than the max firstGravatar ToxicKidz2021-05-06-6/+3
| | | | | | Co-authored-by: Anand Krishna <[email protected]>
| * Merge branch 'main' into feat/mosaic-commandGravatar ToxicKidz2021-05-05-0/+1
| |\
| * | chore: Use the name AvatarModify instead of PfpModifyGravatar ToxicKidz2021-05-05-1/+1
| | |
| * | chore: Prefer double quotes over single quotesGravatar ToxicKidz2021-05-05-9/+9
| | |
| * | chore: Fetch the member and use Colours.blue in the embed for the .mosaic ↵Gravatar ToxicKidz2021-05-05-2/+9
| | | | | | | | | | | | command
| * | feat: Add the .mosaic commandGravatar ToxicKidz2021-04-30-6/+202
| | |
* | | Fix wrong import order lint failureGravatar Objectivitix2021-05-07-2/+1
| | |
* | | Fix lint failures: adding docstrings, removing whitespaceGravatar Objectivitix2021-05-07-17/+11
| | |
* | | Add dynamic question formatters and its constantsGravatar Objectivitix2021-05-07-2/+162
| | |
* | | Add dynamically generated science questionsGravatar Objectivitix2021-05-07-9/+13
| | |
* | | fix NameError, add some forgotten importsGravatar Objectivitix2021-05-07-1/+2
| | |
* | | Implement the math and science questions, added a dynamic_id checkerGravatar Objectivitix2021-05-07-59/+182
| | |
* | | Add 30 math questions and 30 science questions to trivia_quiz.jsonGravatar Objectivitix2021-05-07-0/+331
| |/ |/|
* | chore: Add a 5 second cooldown per user to .catifyGravatar ToxicKidz2021-05-05-0/+1
|/
* fix: remove () from list of safe filename charsGravatar vcokltfre2021-04-30-1/+1
|
* Merge branch 'main' into Enforce-image-processing-concurrencyGravatar ks1292021-04-30-202/+726
|\
| * Updated bot/utils/exceptions.pyGravatar Salil Chincholikar2021-04-27-1/+1
| | | | | | Co-authored-by: Joe Banks <[email protected]>
| * Reworded/fixed grammatical errorGravatar Salil Chincholikar2021-04-27-1/+1
| |
| * Merge branch 'main' into fix-reddit-index-errorGravatar ChrisJL2021-04-23-2/+16
| |\
| | * Suppresses Links In CommandsGravatar Hassan Abouelela2021-04-23-2/+8
| | | | | | | | | | | | | | | | | | Suppresses links in certain commands that can echo back user input. Signed-off-by: Hassan Abouelela <[email protected]>
| | * Adds Link Suppressing HelperGravatar Hassan Abouelela2021-04-23-0/+8
| | | | | | | | | | | | | | | | | | Adds a helper to find and escape links in a message. Signed-off-by: Hassan Abouelela <[email protected]>
| * | Fix spelling of a user facing message in reddit cogGravatar ChrisJL2021-04-23-1/+1
| | | | | | | | | Co-authored-by: Xithrius <[email protected]>
| * | Fix errors when a subreddit has <5 posts.Gravatar Chris2021-04-22-2/+2
| |/ | | | | | | | | | | If a subreddit has <2 posts, the posts[1] check would fail with an IndexError. If the subreddit had less that 5 posts, then the k=5 check would also error. These changes harden the command for these edge cases.
| * chore: use 'nickname' and 'display name' in the right places and use ↵Gravatar ToxicKidz2021-04-20-2/+5
| | | | | | | | allowed_mentions
| * fix: Use name.replace not text.replaceGravatar ToxicKidz2021-04-20-3/+3
| |