| Commit message (Collapse) | Author | Age | Lines |
| | |
|
| |
|
|
|
|
| |
Since we already create the tag embed from the `embed` object in the metadata, we already have the
support to add images in embeds, albeit a bit more verbose than if we had added a `media` property
in the metadata containing only the URL.
|
| |\ |
|
| | |
| |
| |
| |
| |
| | |
This is so that we do not need to spawn the run_job call in a seperate task.
This also wraps interaction.message.delete() in a NotFound suppress to cover the case where a user re-runs code and very quickly clicks the button. The log arg on send_job will stop the actual job from running in this case.
|
| | |
| |
| |
| | |
The cog_command_error isn't hit when the run_job function is called from the button interaction, this means if the lock error is raiseed, it doees not get handled.
|
| | |
| |
| |
| | |
Rather than passing around superfluous variables.
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| |
| | |
To do this we need to track, for each user, the active eval's code, python version and response message. This is because a button press can now also trigger a job to continue. If we did not track these, then editing your own code and then re-evaluating it would trigger the wait_fors in continue_job for each time you pressed the button to change languages.
Co-authored-by: Mark <[email protected]>
|
| |/ |
|
| |\
| |
| | |
Add revival of code role to self-assignable
|
| |/ |
|
| |\
| |
| | |
Fix wrong var name in regex tag
|
| |/ |
|
| |
|
| |
Also added aliases for the f-string tag and the "minusmpip"
|
| | |
|
| |
|
| |
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
| |
|
| |
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
| |
|
|
| |
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Xithrius <[email protected]>
|
| |\
| |
| | |
Add tag to use `python -m pip` to install packages
|
| |/ |
|
| |\ |
|
| |/
|
|
|
| |
"Discord" is a proper noun, and should be capitalized.
Signed-off-by: Bradley Reynolds <[email protected]>
|
| |\
| |
| | |
Improve help of eval and timeit
|
| | |\
| |/
|/| |
|
| |\ \
| | |
| | |
| | |
| | | |
python-discord/always-prepend-guild-name-to-guild-invite-filters
Enhance guild_invite based autobans
|
| | |\ \
| |/ /
|/| | |
|
| |\ \ \ |
|
| |/ / / |
|
| |\ \ \
| | | |
| | | | |
Ignore auto mod notificaitons
|
| | | | |
| | | |
| | | |
| | | | |
This can be unpinned once https://github.com/SebastiaanZ/async-rediscache/pull/18 is merged
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
When a message triggers an auto_moderation_action notification, Discord re-writes the author field for the system message to look as if it's from the original author.
This means those messages counted towards our anti-spam filter. This both triggered the filter too early, and also resulted in those auto mod messages being deleted when the filter was hit.
|
| |/ / / |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Some guild invites are autoban filters, which require the mod to set a comment which includes [autoban].
Having the guild name in the comment is still useful when reviewing filter list, so prepend it to the set comment in case some mod forgets.
Co-authored-by: Alex Noel <[email protected]>
|
| | | | |
|
| | |/
|/| |
|
| |\ \ |
|
| | |\ \
| |/ /
|/| | |
|
| |\ \ \
| |_|/
|/| | |
|
| | | | |
|
| |/ / |
|
| |/
|
|
|
|
|
| |
Due to various breaking changes in the discord.py library the views of the help embed stopped working properly.
- Use `add_item` in `CommandView`. This was done in GroupView but was apparently missed in `CommandView`, and the former (hacky) method no longer works.
- Instead of editing the help message normally (which required to then defer the response), the message edit is made to be the response itself. It seems like the callback would automatically defer the response if none was made, but that no longer happens.
|
| |\
| |
| | |
Only check for autoban filters if reason key is present and not None
|
| | |\
| |/
|/| |
|
| |\ \
| | |
| | |
| | |
| | | |
python-discord/allow-char-info-in-all-channels-bar-py-gen
Allow char info in all channels bar py-gen
|