aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts (follow)
Commit message (Collapse)AuthorAgeLines
...
* | | | | | 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
| | | | | | |
* | | | | | | 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
| |/ / / / / |/| | | | |
* | | | | | 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-27/+582
|\ \ \ \ \
| * \ \ \ \ Merge branch 'main' into fix-reddit-index-errorGravatar ChrisJL2021-04-23-2/+8
| |\ \ \ \ \
| | * | | | | 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]>
| * | | | | | 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
| | | | | |
| * | | | | chore: lower the input to fine more catsGravatar ToxicKidz2021-04-20-3/+4
| | | | | |
| * | | | | chore: Fix UnboundLocalError and discord.ForbiddenErrors in the catify commandGravatar ToxicKidz2021-04-20-17/+21
| | | | | |
| * | | | | Add Catify command (#694)Gravatar Dillon Runke2021-04-20-0/+78
| | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Joe Banks <[email protected]> Co-authored-by: hypergamer80 <[email protected]>
| * | | | | Merge branch 'main' into int-evalGravatar Matteo Bertucci2021-04-17-150/+347
| |\ \ \ \ \ | | | |_|_|/ | | |/| | |
| | * | | | fix: display help for the correct command when an error occurs in timedGravatar vcokltfre2021-04-14-3/+11
| | | | | |
| | * | | | Merge branch 'main' into vcokltfre/feat/pingGravatar Xithrius2021-04-13-1/+4
| | |\ \ \ \
| | | * | | | Linebreak to hopefully not run into linter issuesGravatar laundmo2021-04-13-1/+3
| | | | | | | | | | | | | | | | | | | | | editing this from the web version because im at work and this fixes the issue linking being basically unusable
| | | * | | | Update issue matching regex Gravatar laundmo2021-04-13-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | fixes it being unable to get issue numbers larger than 9 limits it somewhat length-wise and character-wise to the actual github limits
| | * | | | | chore: use discord terminologyGravatar vcokltfre2021-04-13-1/+1
| | | | | | | | | | | | | | | | | | | | | Co-authored-by: Joe Banks <[email protected]>
| | * | | | | chore: add ping_pong emojiGravatar vcokltfre2021-04-13-1/+1
| | | | | | |
| | * | | | | feat: add ping commandGravatar vcokltfre2021-04-13-0/+27
| | |/ / / /
| | * | | | Merge branch 'main' into mainGravatar ChrisJL2021-04-12-147/+262
| | |\ \ \ \
| | | * \ \ \ Merge branch 'main' into fix/april-fools-video-categoriesGravatar ChrisJL2021-04-12-129/+298
| | | |\ \ \ \
| | | * | | | | chore: remove unnecessary utility function and simplify codeGravatar vcokltfre2021-04-12-14/+4
| | | | | | | |
| | | * | | | | feat: rewrite portion of fool command to allow all videosGravatar vcokltfre2021-04-12-5/+5
| | | | | | | |
| | * | | | | | Merge branch 'main' into mainGravatar Sougata das2021-04-12-6/+98
| | |\ \ \ \ \ \
| | * | | | | | | Update battleship.pyGravatar Sougata das2021-04-02-1/+1
| | | | | | | | |
| * | | | | | | | Remove check for `exit` to reset contextGravatar Janine vN2021-04-12-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit removes the `exit` check if someone were to use this: `.int e exit` to clear the context. The check would prevent `.int e exit()` from restarting the bot container. With the `.int reset` and `.int exit` ability to clear the context the check for `exit` to clear the context isn't necessary.
| * | | | | | | | Add constants for common string filenamesGravatar Janine vN2021-04-12-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added a constant for the same filenames used in several locations. Because the now-a-constant string is used in several locations this will allow for it to be updated more easily down the line.
| * | | | | | | | Ensure output will be robust for discord markdownGravatar Janine vN2021-04-11-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added in an extra `\n` at the end of the output. Sometimes discord won't properly format the codeblock in the triple ` is not on a newline. This changes ensures that it should.
| * | | | | | | | Change command help formatGravatar Janine vN2021-04-11-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `.int` with nothing else now uses the `invoke_help_command()` utility that formats the help command much more nicely than the default version
| * | | | | | | | Update docstring for resetGravatar Janine vN2021-04-11-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updated the docstring for `reset` to provide accurate information as to what the command does.
| * | | | | | | | Remove unused codeblock regexGravatar Janine vN2021-04-11-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With the regex sufficiently stolen from snekbox and confirmed to work, the original codeblock regex has been removed.