aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| * | | | fix: put april fools video links in correct channel namesGravatar vcokltfre2021-04-11-3/+6
| | | | |
| | * | | Merge branch 'main' into mainGravatar Sougata das2021-04-12-99/+201
| | |\ \ \
| | * \ \ \ Merge pull request #1 from rijusougata13/rijusougata13-patch-1Gravatar Sougata das2021-04-02-1/+1
| | |\ \ \ \ | | | | | | | | | | | | | | Update battleship.py
| | | * | | | 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.
| | | | * | Realigned to SirLancebot StructureGravatar janine9vn2021-04-09-0/+405
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The code for rattlesnakes's internal eval was aligned to Sir Lancebot's structure. It was mostly renaming rattlesnake to bot and changing how some of the imports were setup as. It also included changing the __init__.py to match the Sir Lancebot cog structure. Additionally, the whitelist check has been significantly simplified to only be a role check for the admin role. The rattlesnake implementation had a more robust `in_whitelist` decorator, so it may be worth investigating adding that in if we see fit. For now, it's a simple `with_role` decorator check. The name of the cog file itself was changed to include an underscore to sidestep what I think was a namespace collision that would prevent the setup function from properly running.
| | | | * | Add helpers for internal evalGravatar janine9vn2021-04-09-0/+243
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cutting over the rattlesnake helpers specifically for internal_eval. I am mirroring the rattlesnake structure as much as I can initially to ensure basic functionality before migrating functions to fit more within Sir Lancebot's file structure.
| | | | * | Cutover of rattlesnake to lancebotGravatar janine9vn2021-04-09-0/+152
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is an initial cutover of the rattlesnake internal eval to Sir Lancebot. This commit by itself will not work. This is a simple drop in of rattlesnake code so there is context as to what has changed and why.
| | | | | * Add non-underscore aliases for lazy people like me :)Gravatar Chris2021-04-30-1/+1
| | | | | |
| | | | | * Consistant use of double quotes and tuples in avatar_mod cogGravatar Chris2021-04-30-11/+10
| | | | | |
| | | | | * Rename pfp_modify cog and group to avatar_mod for clarityGravatar Chris2021-04-30-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | Added in aliases for ease of use too.
| | | | | * Escape invalid filename chars before saving.Gravatar Chris2021-04-22-16/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This would cause an issue with the embed not embedding the image due to a filename mismatch. This has been implemented by escaping all invalid filename characters before saving the file.
| | | | | * Fix captitilization in docstringGravatar Chris2021-04-17-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: LXNN <[email protected]>
| | | | | * Silence matplotlib's loggerGravatar Chris2021-04-12-0/+1
| | | | | |
| | | | | * Revert pillow-simd changeGravatar Chris2021-04-12-16/+9
| | | | | |
| | | | | * Relock after mergingGravatar Chris2021-04-12-8/+47
| | | | | |
| | | | | * Merge branch 'main' into Enforce-image-processing-concurrencyGravatar Chris2021-04-12-139/+410
| | | | | |\ | |_|_|_|_|/ |/| | | | |
* | | | | | Merge pull request #678 from python-discord/remove-inappropriate-riddleGravatar Xithrius2021-04-12-8/+0
|\ \ \ \ \ \ | | | | | | | | | | | | | | Remove inappropriate riddle
| * \ \ \ \ \ Merge branch 'main' into remove-inappropriate-riddleGravatar Xithrius2021-04-12-227/+499
| |\ \ \ \ \ \ | |/ / / / / / |/| | | | | |
* | | | | | | Merge pull request #642 from ↵Gravatar ks1292021-04-12-129/+161
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | python-discord/akarys/630/automatic-linking-everywhere Allow automatic linking of issues everywhere
| * \ \ \ \ \ \ Merge branch 'main' into akarys/630/automatic-linking-everywhereGravatar ks1292021-04-12-98/+338
| |\ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | |
* | | | | | | | Merge pull request #668 from ShakyaMajumdar/feature/latexGravatar ks1292021-04-12-98/+338
|\ \ \ \ \ \ \ \ | |_|_|_|_|/ / / |/| | | | | | | Add latex cog
| * | | | | | | Merge branch 'main' into feature/latexGravatar ks1292021-04-12-2/+45
| |\ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | |
| * | | | | | | Merge remote-tracking branch 'origin/feature/latex' into feature/latexGravatar Shakya Majumdar2021-04-11-0/+0
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # bot/exts/evergreen/latex.py
| | * | | | | | | add max_concurrency, move file-saving to _renderGravatar Shakya Majumdar2021-04-11-8/+10
| | | | | | | | |
| * | | | | | | | add max_concurrency, move file-saving to _renderGravatar Shakya Majumdar2021-04-11-8/+13
| |/ / / / / / /
| * | | | | | | add cachingGravatar Shakya Majumdar2021-04-11-1/+15
| | | | | | | |
| * | | | | | | change background color to match discord theme exactlyGravatar Shakya Majumdar2021-04-10-8/+8
| | | | | | | |
| * | | | | | | exclude non error-causing lines from try-exceptGravatar Shakya Majumdar2021-04-09-6/+5
| | | | | | | |
| * | | | | | | remove redundant use of functools.partialGravatar Shakya Majumdar2021-04-09-2/+1
| | | | | | | |
| * | | | | | | run _render in executor, raise BadArgument for invalid inputGravatar Shakya Majumdar2021-04-09-12/+12
| | | | | | | |
| * | | | | | | add markdown supportGravatar Shakya Majumdar2021-04-09-2/+22
| | | | | | | |
| * | | | | | | Add latex cogGravatar Shakya Majumdar2021-04-08-97/+300
| | | | | | | |
| | * | | | | | Issues: change hashing of FoundIssue to use a tupleGravatar Matteo Bertucci2021-04-12-1/+1
| | | | | | | |
| | * | | | | | Allow automatic linking of issues outside of the python-discord organisationGravatar Matteo Bertucci2021-04-12-41/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Actions python-discord/organisation#345
| | * | | | | | Merge branch 'main' into akarys/630/automatic-linking-everywhereGravatar Daniel Brown2021-04-11-0/+44
| | |\ \ \ \ \ \ | |_|/ / / / / / |/| | | | | | |
| | * | | | | | Merge branch 'main' into akarys/630/automatic-linking-everywhereGravatar Xithrius2021-04-11-2/+1
| | |\ \ \ \ \ \ | | | | |/ / / / | | | |/| | | |
| | * | | | | | Issues: add `type=public`Gravatar Matteo Bertucci2021-04-11-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | This will make sure that even if a privileged token is passed we won't leak any private information.
| | * | | | | | Merge pull request #665 from ToxicKidz/draft-pr-emojiGravatar ChrisJL2021-04-09-97/+112
| | |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Use PRDraft emoji when the pr is a draft pr for the .issue|.pr command