aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Merge pull request #1861 from python-discord/solve-bot-1852Gravatar ChrisJL2021-10-14-3/+4
|\ | | | | Distinguish between note/warning and expired infraction
| * Merge branch 'main' into solve-bot-1852Gravatar ChrisJL2021-10-14-41/+39
| |\ | |/ |/|
* | Merge pull request #1836 from python-discord/tags-revisionGravatar Matteo Bertucci2021-10-11-37/+23
|\ \ | | | | | | Fix typos and grammar in tags
| * \ Merge branch 'main' into tags-revisionGravatar Matteo Bertucci2021-10-11-189/+430
| |\ \ | |/ / |/| |
* | | Merge pull request #1865 from python-discord/fix-bot-1858Gravatar ChrisJL2021-10-10-1/+9
|\ \ \ | | | | | | | | Handle 400 when setting pre-existing doc package
| * | | Fix typo in bot/exts/info/doc/_cog.py Gravatar Richard Si2021-10-10-1/+1
| | | | | | | | | | | | | | | | | | | | it only took 5 people looking through the diff ... Co-authored-by: Bluenix <[email protected]>
| * | | Handle 400 when setting pre-existing doc packageGravatar Richard Si2021-10-10-1/+9
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | If you run, for example: !doc setdoc black https://black.readthedocs/en/stable/objects.inv twice over. You'll get an unhelpful "According to the API, your request is malformed." error message back. This commit adds an error handler to catch the HTTP 400 and tell the user the package already exists.
* | | Merge pull request #1630 from python-discord/kill-subdomainsGravatar Joe Banks2021-10-06-3/+3
|\ \ \
| * \ \ Merge branch 'main' into kill-subdomainsGravatar Joe Banks2021-10-06-0/+4
| |\ \ \ | |/ / / |/| | |
* | | | Merge pull request #1862 from python-discord/add-appeals-categoriesGravatar ChrisJL2021-10-06-0/+4
|\ \ \ \ | | | | | | | | | | Add appeal categories to mod categories
| * | | | Add appeal categories to mod categoriesGravatar Chris Lovering2021-10-06-0/+4
|/ / / / | | | | | | | | | | | | This allows us to run moderation commands in the appeal categories
| * / / Kill subdomains from configuration file.Gravatar Johannes Christ2021-10-06-3/+3
|/ / / | | | | | | | | | | | | This will need a coordinated rollout with @jb3, in order to make the appropriate changes in Kubernetes beforehand.
| * | Fix typoGravatar TizzySaurus2021-10-08-1/+1
| | | | | | | | | Co-authored-by: Bluenix <[email protected]>
| * | Bluenix Review #4Gravatar Izan2021-10-08-2/+2
| | |
| * | Bluenix Review #3Gravatar Izan2021-09-26-2/+2
| | | | | | | | | | | | | | | | | | This commit should be squashed upon PR merge. - Another fix in `windows-path.md`
| * | Bluenix Review #2Gravatar Izan2021-09-25-2/+2
| | | | | | | | | | | | | | | | | | This commit should be squashed upon PR merge. - Made some more fixes in `async-await.md`
| * | Merge remote-tracking branch 'origin/tags-revision' into tags-revisionGravatar Izan2021-09-25-7/+0
| |\ \
| | * \ Merge branch 'main' into tags-revisionGravatar ToxicKidz2021-09-20-7/+0
| | |\ \
| * | | | Bluenix ReviewGravatar Izan2021-09-25-27/+13
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit should be squashed upon PR merge. - Made changes in `async-await.md`, including changing `run_until_complete()` to `asyncio.run()` - Minor changes in `traceback.md` - Rewriting `windows-path.md`
| * | | Fix typos and grammar in tagsGravatar Izan2021-09-20-18/+18
| | | |
| | | * Distinguish between note/warning and expired infraction in error messageGravatar Izan2021-10-06-3/+4
| |_|/ |/| |
* | | Merge pull request #1859 from python-discord/revert-1806-infract-then-dmGravatar Matteo Bertucci2021-10-06-10/+8
|\ \ \ | | | | | | | | Revert "Apply infractions before DMing"
| * | | Revert "Apply infractions before DMing"Gravatar Matteo Bertucci2021-10-06-10/+8
|/ / /
* | | Merge pull request #1798 from python-discord/ignore-infra-mods-errorsGravatar Johannes Christ2021-10-05-7/+22
|\ \ \ | | | | | | | | Prevent role hierarchy issues with infractions
| * \ \ Merge branch 'main' into ignore-infra-mods-errorsGravatar TizzySaurus2021-10-05-8/+10
| |\ \ \ | |/ / / |/| | |
* | | | Merge pull request #1806 from python-discord/infract-then-dmGravatar Johannes Christ2021-10-05-8/+10
|\ \ \ \ | | | | | | | | | | Apply infractions before DMing
| * \ \ \ Merge branch 'main' into infract-then-dmGravatar Joe Banks2021-10-05-190/+420
| |\ \ \ \ | |/ / / / |/| | | |
| * | | | Apply infractions before DMingGravatar Izan2021-09-11-8/+10
| | | | | | | | | | | | | | | | | | | | Bot now attempts to infract before DMing, with the exception of kicks/bans, in order to prevent the user getting sent a message stating they were infracted when the infraction failed (and so they aren't).
| | * | | Merge branch 'main' into ignore-infra-mods-errorsGravatar Joe Banks2021-10-05-323/+653
| | |\ \ \ | |_|/ / / |/| | | |
* | | | | Merge pull request #1854 from python-discord/minor-changes-to-typing-patchGravatar Johannes Christ2021-10-05-3/+3
|\ \ \ \ \ | | | | | | | | | | | | Use utcnow() and lower a logging level in patch_typing
| * \ \ \ \ Merge branch 'main' into minor-changes-to-typing-patchGravatar Johannes Christ2021-10-05-20/+48
| |\ \ \ \ \ | |/ / / / / |/| | | | |
* | | | | | Merge pull request #1855 from python-discord/antispam-log-improvementsGravatar Matteo Bertucci2021-10-05-8/+14
|\ \ \ \ \ \ | | | | | | | | | | | | | | Improve anti-spam logs
| * \ \ \ \ \ Merge branch 'main' into antispam-log-improvementsGravatar Matteo Bertucci2021-10-05-12/+34
| |\ \ \ \ \ \ | |/ / / / / / |/| | | | | |
* | | | | | | Merge pull request #1824 from Numerlor/doc-fetch_inventory-error-badargGravatar wookie1842021-10-05-12/+34
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Gracefully handle invalid inventory content when adding a new doc package
| * \ \ \ \ \ \ Merge branch 'main' into doc-fetch_inventory-error-badargGravatar wookie1842021-10-05-170/+372
| |\ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | |
| * | | | | | | Display BadArgument to user when invalid header is raised in converterGravatar Numerlor2021-09-11-5/+10
| | | | | | | |
| * | | | | | | Raise InvalidHeaderError if inventory has invalid headerGravatar Numerlor2021-09-11-7/+24
| | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the requested inventory file has an invalid header, the resource has most likely moved or the url was invalid. In case of adding a new inventory, this error can be handled and displayed to the user. For automatic fetching it'll stop the rescheduling as the request succeeded but returned invalid content.
| | * | | | | Fix lintingGravatar TizzySaurus2021-10-05-0/+1
| | | | | | | | | | | | | | | | | | | | | Reverted accidental line deletion
| | * | | | | Fix if statement errorGravatar TizzySaurus2021-10-05-10/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds `messages_as_list` for easy indexing of `self.messages.values()` Also updated the comment above if statement and tidied some code
| | * | | | | Make attachments check explicitGravatar TizzySaurus2021-10-05-1/+1
| | | | | | | | | | | | | | | | | | | | | Co-authored-by: Matteo Bertucci <[email protected]>
| | * | | | | Improvements to anti-spam log messageGravatar TizzySaurus2021-10-05-3/+9
| |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Removed redundant f-string - Made it so that messages with attachments will *always* upload to the log site. - Made it so that truncates messages will also upload to the paste site, for full viewing. - Fixed a previously unnoticed bug where truncating didn't account for extra characters of the ellipses.
| | * | | | Use utcnow() and lower a logging level in patch_typingGravatar Chris Lovering2021-10-04-3/+3
| |/ / / / |/| | | |
* | | | | Merge pull request #1853 from python-discord/catch-403-from-Typing-callsGravatar Matteo Bertucci2021-10-04-22/+55
|\ \ \ \ \ | | | | | | | | | | | | Monkey patch http.send_typing to catch 403s
| * | | | | Move all monkey patches to their own fileGravatar Chris Lovering2021-10-04-23/+22
| | | | | |
| * | | | | Monkey patch http.send_typing to catch 403sGravatar Chris Lovering2021-10-04-1/+35
|/ / / / / | | | | | | | | | | | | | | | Sometimes discord turns off typing events by throwing 403's, so we should catch those
* | | | | Merge pull request #1841 from ↵Gravatar Johannes Christ2021-10-04-9/+66
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | python-discord/allow-helpers-to-edit-their-own-nomination-reason Allow helpers to edit their own nomination reason
| * \ \ \ \ Merge branch 'main' into allow-helpers-to-edit-their-own-nomination-reasonGravatar Boris Muratov2021-10-04-61/+102
| |\ \ \ \ \ | |/ / / / / |/| | | | |
* | | | | | Merge pull request #1851 from python-discord/fix-hasattr-checkGravatar wookie1842021-10-03-2/+2
|\ \ \ \ \ \ | | | | | | | | | | | | | | Handle channel category being None in antispam/malware checks
| * | | | | | Handle channel category being None in antispam/malware checksGravatar wookie1842021-10-03-2/+2
|/ / / / / / | | | | | | | | | | | | | | | | | | The code already handled the attribute not existing (e.g from a DM channel), but didn't handle TextChannels not in a category
* | | | | | Merge pull request #1837 from python-discord/add-get-or-fetch-utilGravatar wookie1842021-10-03-59/+100
|\ \ \ \ \ \ | | | | | | | | | | | | | | Add get or fetch util