aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts (follow)
Commit message (Collapse)AuthorAgeLines
...
| * | | | | | | | 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]>
* | | | | | | | Merge branch 'main' into Enforce-image-processing-concurrencyGravatar Chris2021-04-12-129/+298
|\ \ \ \ \ \ \ \ | | |_|_|/ / / / | |/| | | | | |
| * | | | | | | Merge branch 'main' into akarys/630/automatic-linking-everywhereGravatar ks1292021-04-12-0/+94
| |\ \ \ \ \ \ \
| | * \ \ \ \ \ \ Merge branch 'main' into feature/latexGravatar ks1292021-04-12-0/+44
| | |\ \ \ \ \ \ \ | | | | |_|/ / / / | | | |/| | | | |
| | * | | | | | | add max_concurrency, move file-saving to _renderGravatar Shakya Majumdar2021-04-11-8/+13
| | | | | | | | |
| | * | | | | | | add cachingGravatar Shakya Majumdar2021-04-11-0/+14
| | | | | | | | |
| | * | | | | | | 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-0/+57
| | | |/ / / / / | | |/| | | | |
| * | | | | | | 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
| |\ \ \ \ \ \ \ | | | |/ / / / / | | |/| | | | |
| | * | | | | | chore: add time as alias of timedGravatar vcokltfre2021-04-11-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Matteo Bertucci <[email protected]>
| | * | | | | | fix: use ctx.prefix when suggesting the help commandGravatar vcokltfre2021-04-11-1/+4
| | | | | | | |
| | * | | | | | return and send message if command isnt found while timingGravatar vcokltfre2021-04-11-1/+5
| | | | | | | |
| | * | | | | | fix message updating and return typesGravatar vcokltfre2021-04-11-2/+3
| | | | | | | |
| | * | | | | | removed unused cog init and fixed timing timed commandGravatar vcokltfre2021-04-10-3/+3
| | | | | | | |
| | * | | | | | add timed command for timed execution of commandsGravatar vcokltfre2021-04-10-0/+36
| | |/ / / / /
| * | | | | | 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.
| * | | | | | Update commentGravatar ToxicKidz2021-04-09-1/+1
| | | | | | |
| * | | | | | Resolve Merge ConflictsGravatar ToxicKidz2021-04-09-111/+146
| |\ \ \ \ \ \
| | * | | | | | Issues: use soft_red instead of redGravatar Matteo Bertucci2021-04-09-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Shivansh-007 <[email protected]>
| | * | | | | | Add word boundaries to the issues regexGravatar Chris2021-04-08-1/+1
| | | | | | | |
| | * | | | | | Merge branch 'akarys/630/automatic-linking-everywhere' of ↵Gravatar Matteo Bertucci2021-04-08-1/+1
| | |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | github.com:python-discord/sir-lancebot into akarys/630/automatic-linking-everywhere
| | | * | | | | | Issues: add red cross emoji for failed issuesGravatar Matteo Bertucci2021-04-08-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Shivansh-007 <[email protected]>
| | * | | | | | | Issues: emoji_url -> emojiGravatar Matteo Bertucci2021-04-08-8/+8
| | |/ / / / / /
| | * | | | | | Merge branch 'akarys/630/automatic-linking-everywhere' of ↵Gravatar Matteo Bertucci2021-04-08-2/+3
| | |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | github.com:python-discord/sir-lancebot into akarys/630/automatic-linking-everywhere
| | | * \ \ \ \ \ Merge branch 'akarys/630/automatic-linking-everywhere' into issues-more-reposGravatar Matteo Bertucci2021-04-08-105/+138
| | | |\ \ \ \ \ \
| | | | * | | | | | Merge branch 'main' into akarys/630/automatic-linking-everywhereGravatar Matteo Bertucci2021-04-08-1/+2
| | | | |\| | | | |
| | | * | | | | | | increase the number of repos per page we fetch from githubGravatar vcokltfre2021-04-08-1/+1
| | | | |/ / / / / | | | |/| | | | |
| | * | | | | | | Issues: icon_url -> emoji_urlGravatar Matteo Bertucci2021-04-08-2/+2
| | | | | | | | |
| | * | | | | | | Issues: add accept headerGravatar Matteo Bertucci2021-04-08-1/+3
| | | |/ / / / / | | |/| | | | |
| | * | | | | | Issues: make use of invoke_help_commandGravatar Matteo Bertucci2021-04-08-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: ToxicKidz <[email protected]>
| | * | | | | | Refactor issue cogGravatar Matteo Bertucci2021-04-08-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: ToxicKidz <[email protected]>