aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* style(tags/print-return): set the `title` property instead of using bolded textGravatar Siddhesh Mhadnak2022-07-17-2/+1
|
* feat(tags): add print-return tagGravatar Siddhesh Mhadnak2022-07-17-0/+10
| | | | | | 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.
* Merge pull request #2218 from python-discord/3.11-snekboxGravatar ChrisJL2022-07-16-161/+1364
|\
| * Use interaction.defer for snekbox version switch buttonGravatar Chris Lovering2022-07-16-5/+11
| | | | | | | | | | | | 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.
| * Move snekbox lock error handling to a try/exceptGravatar Chris Lovering2022-07-16-2/+9
| | | | | | | | 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.
| * Infer the snekbox invoker from contextGravatar Chris Lovering2022-07-16-4/+3
| | | | | | | | Rather than passing around superfluous variables.
| * Use generic views from bot0core for snekboxGravatar Chris Lovering2022-07-16-135/+1192
| |
| * Update snekbox tests to reflect current behaviourGravatar Chris Lovering2022-07-16-23/+37
| |
| * Allow users to eval code in either 3.11 or 3.10Gravatar Chris Lovering2022-07-16-29/+135
| | | | | | | | | | | | 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 required config and constants for snekbox 3.11Gravatar Chris Lovering2022-07-16-0/+14
|/
* Merge pull request #2215 from python-discord/revival-of-code-roleGravatar ChrisJL2022-07-12-0/+3
|\ | | | | Add revival of code role to self-assignable
| * Add revival of code role to self-assignableGravatar Cam Caswell2022-07-12-0/+3
|/
* Merge pull request #2214 from python-discord/mbaruh/regex-tag-fixGravatar Hassan Abouelela2022-07-12-2/+2
|\ | | | | Fix wrong var name in regex tag
| * Fix wrong var name in regex tagGravatar Boris Muratov2022-07-12-2/+2
|/
* Add Aliases for Tags Support (#2213)Gravatar Janine vN2022-07-11-1/+11
| | | Also added aliases for the f-string tag and the "minusmpip"
* Limit the ext cog to 1 action at a time (#2205)Gravatar ChrisJL2022-07-10-15/+26
|
* Bump urllib3 from 1.24.3 to 1.26.5 (#2210)Gravatar dependabot[bot]2022-07-09-18/+10
| | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump lxml from 4.8.0 to 4.9.1 (#2208)Gravatar dependabot[bot]2022-07-09-1236/+100
| | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump requests from 2.15.1 to 2.20.0 (#2202)Gravatar dependabot[bot]2022-07-09-14/+32
| | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Xithrius <[email protected]>
* Merge pull request #2209 from python-discord/tag-dashmpipGravatar D0rs4n2022-07-09-0/+11
|\ | | | | Add tag to use `python -m pip` to install packages
| * Add tag to use `python -m pip` to install packagesGravatar Janine vN2022-07-08-0/+11
|/
* Merge pull request #2207 from python-discord/shenanigansd-patch-1Gravatar ChrisJL2022-07-04-1/+1
|\
| * Capitalize the "D" in "Discord"Gravatar Bradley Reynolds2022-07-04-1/+1
|/ | | | | "Discord" is a proper noun, and should be capitalized. Signed-off-by: Bradley Reynolds <[email protected]>
* Merge pull request #2201 from Numerlor/timeit_setup_helpGravatar Hassan Abouelela2022-07-03-2/+5
|\ | | | | Improve help of eval and timeit
| * Merge branch 'main' into timeit_setup_helpGravatar Hassan Abouelela2022-07-03-167/+177
| |\ | |/ |/|
* | Merge pull request #2196 from ↵Gravatar ChrisJL2022-06-30-11/+21
|\ \ | | | | | | | | | | | | python-discord/always-prepend-guild-name-to-guild-invite-filters Enhance guild_invite based autobans
| * \ Merge branch 'main' into always-prepend-guild-name-to-guild-invite-filtersGravatar ChrisJL2022-06-30-172/+179
| |\ \ | |/ / |/| |
* | | Merge pull request #2203 from python-discord/fix-trigger_typingGravatar ChrisJL2022-06-29-4/+4
|\ \ \
| * | | Use the new Messageable.typing instead of the removed Messageable.trigger_typingGravatar Chris Lovering2022-06-29-4/+4
|/ / /
* | | Merge pull request #2200 from python-discord/ignore-auto-mod-notificaitonsGravatar Hassan Abouelela2022-06-28-152/+152
|\ \ \ | | | | | | | | Ignore auto mod notificaitons
| * | | Pin fakeredis to 1.7.5 due to breaking aioredis changeGravatar Chris Lovering2022-06-28-14/+16
| | | | | | | | | | | | | | | | This can be unpinned once https://github.com/SebastiaanZ/async-rediscache/pull/18 is merged
| * | | Use new application format for message data in test helperGravatar Chris Lovering2022-06-28-1/+1
| | | |
| * | | Ignore auto_moderation_action messages when applying anti-spam rulesGravatar Chris Lovering2022-06-28-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | Bump botcore to get latest d.py changesGravatar Chris Lovering2022-06-28-164/+161
|/ / /
| * | Rename filtering send log kwarg for consistency with where it's sent fromGravatar Chris Lovering2022-06-22-2/+2
| | |
| * | Improved output format of guild autoban notificationsGravatar Chris Lovering2022-06-22-1/+3
| | |
| * | Don't ping mods for autoban filtersGravatar Chris Lovering2022-06-15-3/+7
| | |
| * | Include the list type when telling mods a new autoban filter was addedGravatar Chris Lovering2022-06-15-1/+2
| | |
| * | Always prepend guild name to guild invite filters.Gravatar Chris Lovering2022-06-14-7/+10
| | | | | | | | | | | | | | | | | | | | | | | | 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]>
| | * document eval command accepting multiple codeblocksGravatar Numerlor2022-06-28-0/+3
| | |
| | * improve usage hint of timeit and eval commandGravatar Numerlor2022-06-28-2/+2
| |/ |/|
* | Merge pull request #2197 from python-discord/fix_return_buttonGravatar ChrisJL2022-06-22-11/+4
|\ \
| * \ Merge branch 'main' into fix_return_buttonGravatar ChrisJL2022-06-22-5/+19
| |\ \ | |/ / |/| |
* | | Merge pull request #2199 from Numerlor/doc-description-headerlinkGravatar ChrisJL2022-06-22-5/+19
|\ \ \ | |_|/ |/| |
| * | filter out source code tags, remove unnecessary regexGravatar Numerlor2022-06-19-5/+14
| | |
| * | filter out headerlinks for descriptionsGravatar Numerlor2022-06-19-0/+5
|/ /
| * Fix help embed viewsGravatar mbaruh2022-06-17-11/+4
|/ | | | | | | 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.
* Merge pull request #2195 from python-discord/fix/bot#2194Gravatar ChrisJL2022-06-14-1/+3
|\ | | | | Only check for autoban filters if reason key is present and not None
| * Merge branch 'main' into fix/bot#2194Gravatar ChrisJL2022-06-14-2/+2
| |\ | |/ |/|
* | Merge pull request #2193 from ↵Gravatar ChrisJL2022-06-14-2/+2
|\ \ | | | | | | | | | | | | python-discord/allow-char-info-in-all-channels-bar-py-gen Allow char info in all channels bar py-gen