| Commit message (Collapse) | Author | Age | Lines | ||
|---|---|---|---|---|---|
| ... | |||||
| | | * | | | | Don't send errors, instead log them. | 2021-10-11 | -9/+9 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | Errors shouldn't be sent in #incidents. Instead, log them with log.exception and make the function return. | ||||
| | | * | | | | Do required flake8 changes in docstrings. | 2021-10-11 | -4/+8 | ||
| | | | | | | | |||||
| | | * | | | | Use tasks to fetch incidents channel webhook. | 2021-10-11 | -9/+13 | ||
| | | | | | | | |||||
| | | * | | | | On msg edits, edit the msg link embed rather than deleting it | 2021-10-11 | -4/+9 | ||
| | | | | | | | |||||
| | | * | | | | Make incidents channel webhook a cog level attribute | 2021-10-11 | -6/+6 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | This would not fetch it everytime. | ||||
| | | * | | | | Use str() rather than f string for single variable. | 2021-10-11 | -1/+1 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | Makes the intent much more clear. | ||||
| | | * | | | | Don't allow more than 10 embeds per report. | 2021-10-11 | -53/+32 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | If more than 10 embeds found, just get the first 10 and ignore the rest. | ||||
| | | * | | | | Revert changes done by black. | 2021-10-11 | -43/+13 | ||
| | | | | | | | |||||
| | | * | | | | Updates type hints for `message_link_embeds_cache`. | 2021-10-11 | -1/+7 | ||
| | | | | | | | |||||
| | | * | | | | Refactors code. | 2021-10-11 | -26/+94 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Earlier on message edit the message wasn't run through extract message links to see if new message links are added or if some got deleted. Similarly the cache was updated when a message got deleted. Now it makes extract message links a helper function and runs it on message edits and deletes in case there are some changes in the message links. This commit also updates the doc strings for functions according to the new changes done. | ||||
| | | * | | | | Use `DiscordException` instead of broad exception clause. | 2021-10-11 | -2/+2 | ||
| | | | | | | | |||||
| | | * | | | | Apply grammar and style changes. | 2021-10-11 | -13/+20 | ||
| | | | | | | | |||||
| | | * | | | | Run black code formatter. | 2021-10-11 | -21/+53 | ||
| | | | | | | | |||||
| | | * | | | | Ignore N802 in 'asyncSetUp' and 'asyncTearDown' function in test_incidents.py | 2021-10-11 | -2/+2 | ||
| | | | | | | | |||||
| | | * | | | | Allign comments to maintain readability | 2021-10-11 | -3/+3 | ||
| | | | | | | | |||||
| | | * | | | | Modify tests to support redis cache, done with the help @SebastiaanZ | 2021-10-11 | -16/+16 | ||
| | | | | | | | |||||
| | | * | | | | Run webhook message deletion if webhook_msg_id var is True | 2021-10-11 | -5/+7 | ||
| | | | | | | | |||||
| | | * | | | | Update regex to support all message links i.e. support for 'app', 'canary', ↵ | 2021-10-11 | -3/+4 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | 'ptb' | ||||
| | | * | | | | Add a docstring to 'send_webhooks' function | 2021-10-11 | -0/+9 | ||
| | | | | | | | |||||
| | | * | | | | If message content more than 500 characters shorten it done to 300 characters | 2021-10-11 | -24/+34 | ||
| | | | | | | | |||||
| | | * | | | | Rollback to changes which aren't required | 2021-10-11 | -6/+6 | ||
| | | | | | | | |||||
| | | * | | | | Fix tests according to the changes done to incidents.py | 2021-10-11 | -3/+19 | ||
| | | | | | | | |||||
| | | * | | | | Use str() when checking for message.content | 2021-10-11 | -1/+1 | ||
| | | | | | | | |||||
| | | * | | | | Use MessageConverter to find messages | 2021-10-11 | -25/+35 | ||
| | | | | | | | |||||
| | | * | | | | Send multiple webhook messages in case of more than 10 message links | 2021-10-11 | -9/+22 | ||
| | | | | | | | |||||
| | | * | | | | Add incidents webhook to default config template | 2021-10-11 | -0/+1 | ||
| | | | | | | | |||||
| | | * | | | | Send webhook embed containing information about the message if there is a ↵ | 2021-10-11 | -4/+70 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | message link in the incident report | ||||
| | | | | | * | Add ability to reply to message for `!remind` | 2021-11-16 | -2/+16 | ||
| | |_|_|_|/ |/| | | | | |||||
| * | | | | | Update order of off-topic channels (#1956) | 2021-11-14 | -2/+2 | ||
| |/ / / / | | | | | | | | | Reverse order of off-topic channels from ot0, ot1, ot2 to ot2, ot1, ot0 | ||||
| * | | | | Change log level from `WARNING` to `DEBUG`. (#1950) | 2021-11-11 | -3/+1 | ||
| | | | | | |||||
| * | | | | Merge PR #1947: Fix `!infractions by me` | 2021-11-10 | -1/+1 | ||
| | | | | | | | | | | | | | Put the literal converter before the Member converter so that "me"/"m" isn't attempted to be converted to a Member. | ||||
| * | | | | Merge pull request #1926 from python-discord/infractions-by-command | 2021-11-10 | -2/+58 | ||
| |\ \ \ \ | | | | | | | | | | | Add support for `!infractions by <m|me|uid>` | ||||
| | * \ \ \ | Merge branch 'main' into infractions-by-command | 2021-11-10 | -558/+1046 | ||
| | |\ \ \ \ | |/ / / / |/| | | | | |||||
| * | | | | | commands: add pip as an alias to pypi (#1942) | 2021-11-10 | -1/+1 | ||
| | | | | | | | | | | | | | | | | Co-authored-by: Xithrius <[email protected]> | ||||
| * | | | | | Merge pull request #1946 from python-discord/refactor-modlog | 2021-11-09 | -19/+21 | ||
| |\ \ \ \ \ | | | | | | | | | | | | | Refactor ModLog | ||||
| | * | | | | | Listen to only on_raw_message_delete | 2021-11-09 | -19/+21 | ||
| | | | | | | | |||||
| | * | | | | | Call the appropriate function in the raw listener | 2021-11-09 | -1/+1 | ||
| |/ / / / / | |||||
| * | | | | | Merge pull request #1944 from python-discord/ignore-bot | 2021-11-09 | -1/+1 | ||
| |\ \ \ \ \ | | | | | | | | | | | | | Filter the same kind of messages in both message deletion listeners. | ||||
| | * | | | | | Filter the same messages in both listeners. | 2021-11-09 | -1/+1 | ||
| |/ / / / / | |||||
| * | | | | | Only re-run filters in `on_message_update` if contents/attachments changed ↵ | 2021-11-06 | -2/+10 | ||
| | | | | | | | | | | | | | | | | | | | | | (#1937) | ||||
| * | | | | | Merge pull request from GHSA-j8c3-8x46-8pp6 | 2021-11-05 | -4/+40 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Don't Exit Token Filtering Early On URLs The token filtering function would exit early if it detected a URL within the message, but it made no extra checks to ensure there weren't other tokens within that message that would trigger it. This made sense when the filtering logic was written, but it's been modified since to introduce this bug. Regression tests included. Signed-off-by: Hassan Abouelela <[email protected]> * Links Advisory In Token Filter Tests Adds a link to the advisory with reasoning for the existence of the test. Signed-off-by: Hassan Abouelela <[email protected]> | ||||
| * | | | | | Add sql-fstring tag | 2021-11-04 | -0/+16 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add sql-fstring tag * Correct link and wording * Correction to grammar and wording Also adds a semicolon * Add missing " Co-authored-by: Bluenix <[email protected]> Co-authored-by: TizzySaurus <[email protected]> | ||||
| * | | | | | Migrate to `og_blurple` (#1901) | 2021-11-01 | -38/+38 | ||
| | | | | | | | | | | | | | | | | Migrate to `og_blurple` | ||||
| * | | | | | Merge pull request #1910 from ↵ | 2021-10-31 | -2/+7 | ||
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | python-discord/consider-parent-channels-when-checking-mod-channels Consider parent channels when checking mod channels | ||||
| | * | | | | | consider parent channels when checking mod channels | 2021-10-31 | -2/+7 | ||
| |/ / / / / | |||||
| * | | | | | Merge pull request #1923 from Lainika/GH-1873_Fix_embeds | 2021-10-31 | -2/+1 | ||
| |\ \ \ \ \ | |||||
| | * | | | | | GH-1873 Fix BigBrother embeds | 2021-10-31 | -2/+1 | ||
| |/ / / / / | | | | | | | | | | | | | | | | Move text from footer to description. | ||||
| * | | | | | Merge pull request #1793 from python-discord/cleanrework | 2021-10-30 | -274/+614 | ||
| |\ \ \ \ \ | | | | | | | | | | | | | Clean Cog Rework | ||||
| | * \ \ \ \ | Merge branch 'main' into cleanrework | 2021-10-30 | -10/+64 | ||
| | |\ \ \ \ \ | |/ / / / / |/| | | | | | |||||
| * | | | | | | Merge pull request #1909 from python-discord/pin-consistency | 2021-10-28 | -3/+9 | ||
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | Unpin All Messages When Moving Help Channels | ||||