aboutsummaryrefslogtreecommitdiffstats
path: root/bot (follow)
Commit message (Collapse)AuthorAgeLines
* 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
| |
| * 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/+83
| | | | | | | | Co-authored-by: Joe Banks <[email protected]> Co-authored-by: hypergamer80 <[email protected]>
| * Merge branch 'main' into int-evalGravatar Matteo Bertucci2021-04-17-333/+479
| |\
| | * Remove un-used sound resourcesGravatar Chris2021-04-16-41/+0
| | |
| | * 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-288/+393
| | |\
| | | * Merge branch 'main' into fix/april-fools-video-categoriesGravatar ChrisJL2021-04-12-137/+299
| | | |\
| | | * | 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-141/+135
| | | | |
| | | * | fix: put april fools video links in correct channel namesGravatar vcokltfre2021-04-11-3/+6
| | | | |
| | * | | Merge branch 'main' into mainGravatar Sougata das2021-04-12-8/+99
| | |\ \ \
| | * | | | 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.
| * | | | | Correct logger nameGravatar Janine vN2021-04-11-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changed the initialization of the logging to pull dynamically so it can actually log correctly.
| * | | | | Correct prefix usage in a doctstring Gravatar Janine vN2021-04-11-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Corrects the prefix for the a command in the docstring to use Lancebot's prefix. Co-authored-by: Matteo Bertucci <[email protected]>
| * | | | | Blind Fixes at LintingGravatar janine9vn2021-04-10-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Both my pre-commit and flake8 runs are telling me everything is fine and it's all passed. Github actions is saying otherwise but isn't saying *where*. So here I am with useless linting commits.
| * | | | | Removed rogue variableGravatar janine9vn2021-04-10-6/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I'm better than this I swear. I can lint before I commit. Don't tell lemon.
| * | | | | Update codeblock regexGravatar janine9vn2021-04-10-1/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The snekbox implementation of the codeblock regex was incorporated. This now correctly parses the `code` and ``code`` markdown discord allows. You can also use multiple code blocks with text interrupting it and it will process the different code blocks as one continuous code block.
| * | | | | Change namesGravatar janine9vn2021-04-10-395/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These were missed in a previous commit. It's a simple name change from the original files to better align with Sir Lancebot.