aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| | | * | | | | | | | | | | | | | | | | Run webhook message deletion if webhook_msg_id var is TrueGravatar Shivansh-0072021-10-11-5/+7
| | | | | | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | | | | Update regex to support all message links i.e. support for 'app', 'canary', ↵Gravatar Shivansh-0072021-10-11-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'ptb'
| | | * | | | | | | | | | | | | | | | | Add a docstring to 'send_webhooks' functionGravatar Shivansh-0072021-10-11-0/+9
| | | | | | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | | | | If message content more than 500 characters shorten it done to 300 charactersGravatar Shivansh-0072021-10-11-24/+34
| | | | | | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | | | | Rollback to changes which aren't requiredGravatar Shivansh-0072021-10-11-6/+6
| | | | | | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | | | | Fix tests according to the changes done to incidents.pyGravatar Shivansh-0072021-10-11-3/+19
| | | | | | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | | | | Use str() when checking for message.contentGravatar Shivansh-0072021-10-11-1/+1
| | | | | | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | | | | Use MessageConverter to find messagesGravatar Shivansh-0072021-10-11-25/+35
| | | | | | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | | | | Send multiple webhook messages in case of more than 10 message linksGravatar Shivansh-0072021-10-11-9/+22
| | | | | | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | | | | Add incidents webhook to default config templateGravatar Shivansh-0072021-10-11-0/+1
| | | | | | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | | | | Send webhook embed containing information about the message if there is a ↵Gravatar Shivansh-0072021-10-11-4/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | message link in the incident report
| | | | | | * | | | | | | | | | | | | | Add ability to reply to message for `!remind`Gravatar Izan2021-11-16-2/+16
| | |_|_|_|/ / / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | Update order of off-topic channels (#1956)Gravatar mina2021-11-14-2/+2
| |/ / / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reverse order of off-topic channels from ot0, ot1, ot2 to ot2, ot1, ot0
* | | | | | | | | | | | | | | | | | Reflect empty lineGravatar mathstrains212021-11-28-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Bluenix <[email protected]>
* | | | | | | | | | | | | | | | | | Update `patreon_info` function docstringGravatar mathstrains212021-11-28-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Bluenix <[email protected]>
* | | | | | | | | | | | | | | | | | Merge branch 'python-discord:main' into patreonGravatar mathstrains212021-11-14-350/+816
|\| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | Change log level from `WARNING` to `DEBUG`. (#1950)Gravatar TizzySaurus2021-11-11-3/+1
| | |_|_|_|_|_|_|_|_|_|/ / / / / / | |/| | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | Merge PR #1947: Fix `!infractions by me`Gravatar TizzySaurus2021-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-commandGravatar Johannes Christ2021-11-10-2/+58
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for `!infractions by <m|me|uid>`
| | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'main' into infractions-by-commandGravatar Boris Muratov2021-11-10-558/+1046
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | commands: add pip as an alias to pypi (#1942)Gravatar aru2021-11-10-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Xithrius <[email protected]>
| * | | | | | | | | | | | | | | | | Merge pull request #1946 from python-discord/refactor-modlogGravatar Matteo Bertucci2021-11-09-19/+21
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactor ModLog
| | * | | | | | | | | | | | | | | | | Listen to only on_raw_message_deleteGravatar Qwerty-1332021-11-09-19/+21
| | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | Call the appropriate function in the raw listenerGravatar Qwerty-1332021-11-09-1/+1
| |/ / / / / / / / / / / / / / / / /
| * | | | | | | | | | | | | | | | | Merge pull request #1944 from python-discord/ignore-botGravatar ChrisJL2021-11-09-1/+1
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|_|_|_|_|_|_|/ / / | |/| | | | | | | | | | | | | | | | Filter the same kind of messages in both message deletion listeners.
| | * | | | | | | | | | | | | | | | Filter the same messages in both listeners.Gravatar Qwerty-1332021-11-09-1/+1
| |/ / / / / / / / / / / / / / / /
| * | | | | | | | | | | | | | | / Only re-run filters in `on_message_update` if contents/attachments changed ↵Gravatar TizzySaurus2021-11-06-2/+10
| | |_|_|_|_|_|_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#1937)
| * | | | | | | | | | | | | | | Merge pull request from GHSA-j8c3-8x46-8pp6Gravatar Hassan Abouelela2021-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 tagGravatar Janine vN2021-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)Gravatar TizzySaurus2021-11-01-38/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Migrate to `og_blurple`
| * | | | | | | | | | | | | | Merge pull request #1910 from ↵Gravatar ChrisJL2021-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 channelsGravatar Chris Lovering2021-10-31-2/+7
| |/ / / / / / / / / / / / / /
| * | | | | | | | | | | | | | Merge pull request #1923 from Lainika/GH-1873_Fix_embedsGravatar Karlis Suvi2021-10-31-2/+1
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \
| | * | | | | | | | | | | | | | GH-1873 Fix BigBrother embedsGravatar Lainika2021-10-31-2/+1
| |/ / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move text from footer to description.
| * | | | | | | | | | | | | | Merge pull request #1793 from python-discord/cleanreworkGravatar Johannes Christ2021-10-30-274/+614
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clean Cog Rework
| | * \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'main' into cleanreworkGravatar wookie1842021-10-30-10/+64
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / / / / / | |/| | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Merge pull request #1909 from python-discord/pin-consistencyGravatar Johannes Christ2021-10-28-3/+9
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Unpin All Messages When Moving Help Channels
| | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'main' into pin-consistencyGravatar Johannes Christ2021-10-28-7/+55
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / / / / / / | |/| | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | Unpin All Messages When Moving Help ChannelsGravatar Hassan Abouelela2021-10-24-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Occasional hiccups in the Discord API would cause unpinning in help channel to sometimes fails. This gets around that by unpinning all messages when making the channel available. Signed-off-by: Hassan Abouelela <[email protected]>
| | | * | | | | | | | | | | | | | Remove channel limitation with time rangeGravatar mbaruh2021-10-25-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Discussion in the pull request raised some legitimate use cases for supplying a time range for multiple channels (e.g clean the last couple of minutes instead of specifying number of messages to traverse).
| | | * | | | | | | | | | | | | | Update Age converter to use TZ aware datetimeGravatar mbaruh2021-10-25-1/+1
| | | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | Merge branch 'main' into cleanreworkGravatar mbaruh2021-10-25-221/+255
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | |/ / / / / / / / / / / / / / | | |/| | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | Improve documentation of global variablesGravatar mbaruh2021-10-25-3/+5
| | | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | Apply requested style changesGravatar mbaruh2021-10-25-6/+4
| | | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | Adjust docstring to #1876Gravatar mbaruh2021-10-25-12/+11
| | | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | Merge branch 'main' into cleanreworkGravatar mbaruh2021-10-17-1144/+1955
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | * | | | | | | | | | | | | | | Indentation, type-hint, and documentation fixesGravatar mbaruh2021-09-20-31/+32
| | | | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | | End clean on unexpected errorsGravatar mbaruh2021-09-11-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added a cog_command_error method that sets cleaning to False when a command ends on an exception. I don't have anything in mind that might cause this, but it will ensure that in any case the cog will still be usable.
| | | * | | | | | | | | | | | | | | Handle Regex converter errorsGravatar mbaruh2021-09-11-8/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Handle cases where there are no enclosing backticks, and where the regex pattern is invalid.
| | | * | | | | | | | | | | | | | | Fix incorrect cache usageGravatar mbaruh2021-09-08-1/+1
| | | | | | | | | | | | | | | | | |