| Commit message (Collapse) | Author | Age | Lines |
| ... | |
| | | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Changed the initialization of the logging to pull dynamically
so it can actually log correctly.
|
| | | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Corrects the prefix for the a command in the docstring to use
Lancebot's prefix.
Co-authored-by: Matteo Bertucci <[email protected]>
|
| | | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
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.
|
| | | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
I'm better than this I swear. I can lint before I commit.
Don't tell lemon.
|
| | | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
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.
|
| | | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
These were missed in a previous commit.
It's a simple name change from the original files to
better align with Sir Lancebot.
|
| | | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
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.
|
| | | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
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.
|
| | | |_|/ / / / /
| |/| | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
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.
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Added in aliases for ease of use too.
|
| | | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
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.
|
| | | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Co-authored-by: LXNN <[email protected]>
|
| |\ \ \ \ \ \ \ \
| | |_|_|/ / / /
| |/| | | | | | |
|
| | |\ \ \ \ \ \ \ |
|
| | | |\ \ \ \ \ \ \
| | | | |_|/ / / /
| | | |/| | | | | |
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| | | | |/ / / / /
| | |/| | | | | |
|
| | | | | | | | | |
|
| | | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Actions python-discord/organisation#345
|
| | |\ \ \ \ \ \ \
| | | |/ / / / /
| | |/| | | | | |
|
| | | | | | | | |
| | | | | | | |
| | | | | | | | |
Co-authored-by: Matteo Bertucci <[email protected]>
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | | |/ / / / / |
|
| | | | | | | |
| | | | | | |
| | | | | | | |
This will make sure that even if a privileged token is passed we won't leak any private information.
|
| | | | | | | | |
|
| | |\ \ \ \ \ \ |
|
| | | | | | | | |
| | | | | | | |
| | | | | | | | |
Co-authored-by: Shivansh-007 <[email protected]>
|
| | | | | | | | | |
|
| | | |\ \ \ \ \ \
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
github.com:python-discord/sir-lancebot into akarys/630/automatic-linking-everywhere
|
| | | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Co-authored-by: Shivansh-007 <[email protected]>
|
| | | |/ / / / / / |
|
| | | |\ \ \ \ \ \
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
github.com:python-discord/sir-lancebot into akarys/630/automatic-linking-everywhere
|
| | | | |\ \ \ \ \ \ |
|
| | | | | |\| | | | | |
|
| | | | | |/ / / / /
| | | |/| | | | | |
|
| | | | | | | | | | |
|
| | | | |/ / / / /
| | |/| | | | | |
|
| | | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Co-authored-by: ToxicKidz <[email protected]>
|
| | | | | | | | |
| | | | | | | |
| | | | | | | | |
Co-authored-by: ToxicKidz <[email protected]>
|