aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Remove unneeded new linesGravatar ChrisJL2021-11-19-2/+2
| | | These new lines made the output embed look far to spaced out.
* Merge pull request #1446 from Shivansh-007/feature/enhance-incidentsGravatar Boris Muratov2021-11-19-17/+342
|\ | | | | Enhancing information within the incidents channel.
| * Merge branch 'main' into feature/enhance-incidentsGravatar Shivansh-0072021-11-18-566/+1123
| |\ | |/ |/|
* | Merge pull request #1953 from python-discord/jb3/guild-features-channelsGravatar Joe Banks2021-11-17-1/+4
|\ \
| * \ Merge branch 'main' into jb3/guild-features-channelsGravatar Xithrius2021-11-17-2/+14
| |\ \ | |/ / |/| |
* | | Don't log threads in admin channels (#1954)Gravatar ChrisJL2021-11-16-0/+12
| | | | | | | | | | | | | | | This change disables the mod-log for any changes to threads in channels that mods don't have read perms to. Co-authored-by: Kieran Siek <[email protected]>
* | | 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
| * | Add #bot-commands to guild features in !serverGravatar Joe Banks2021-11-14-1/+4
|/ / | | | | | | | | | | | | This prevents spam in dev-contrib and dev-core from people trying to find which Discord feature flags are enabled for Python Discord. It's not ideal that we have to increase output size in #bot-commands but it prevents spam in #dev-contrib.
* | 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
| |\ \ \ \ | |/ / / / |/| | | |
* | | | | Handle autoban filtering in DMs (#1914)Gravatar Boris Muratov2021-10-26-1/+2
| | | | | | | | | | | | | | | An autoban trigger being sent in DMs caused the ban to fail, but for it to still be registered in the database. That is becuase the ban command uses the `ctx.guild.ban` method, but in DMs `ctx.guild` is None. This commit solves it by overriding the `context.guild` field.
* | | | | Merge pull request #1893 from python-discord/filters/autobanGravatar Boris Muratov2021-10-25-7/+54
|\ \ \ \ \ | | | | | | | | | | | | Filtering: add autoban on specific reasons
| * | | | | Filtering: remove dangling empty quoteGravatar Matteo Bertucci2021-10-25-1/+1
| | | | | | | | | | | | | | | | | | Co-authored-by: ChrisJL <[email protected]>
| * | | | | Filtering: update auto-ban commentsGravatar Matteo Bertucci2021-10-25-3/+4
| | | | | | | | | | | | | | | | | | Co-authored-by: ChrisJL <[email protected]>
| * | | | | Filtering: fix ban flowGravatar Matteo Bertucci2021-10-25-2/+3
| | | | | |
| * | | | | Fltering: clean up autoban codeGravatar Matteo Bertucci2021-10-25-4/+4
| | | | | |
| * | | | | Filter list: move warning to #mod-metaGravatar Matteo Bertucci2021-10-25-4/+4
| | | | | |
| * | | | | Merge remote-tracking branch 'origin/main' into filters/autobanGravatar Matteo Bertucci2021-10-25-303/+360
| |\ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | Filter list: send warning when autoban trigger is addedGravatar Matteo Bertucci2021-10-25-2/+11
| | | | | |
| * | | | | Filtering: update auto ban messageGravatar Matteo Bertucci2021-10-25-3/+15
| | | | | |
| * | | | | Infrac: prioritize mod over bot feedback msgGravatar Matteo Bertucci2021-10-25-8/+8
| | | | | |
| * | | | | Filtering: make autoban tempGravatar Matteo Bertucci2021-10-19-8/+4
| | | | | |
| * | | | | Filtering: do not try to convert to a memberGravatar Matteo Bertucci2021-10-19-2/+2
| | | | | |
| * | | | | Filtering: update auto-ban messageGravatar Matteo Bertucci2021-10-19-2/+2
| | | | | | | | | | | | | | | | | | Co-authored-by: Boris Muratov <[email protected]>
| * | | | | Filtering: add autoban on specific reasonsGravatar Matteo Bertucci2021-10-19-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Due to the increase in typo-squatting based phishing, we want to automatically ban users sending specific domain names. For that, this commit will automatically ban any user that trigger a filter which has `[autoban]` in its reason. That's it!
| | * | | | 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
| | |\ \ \ | |_|/ / / |/| | | |
* | | | | Merge pull request #1908 from python-discord/fix-tz-issueGravatar Hassan Abouelela2021-10-23-2/+5
|\ \ \ \ \ | | | | | | | | | | | | Use datetime.fromtimestamp so we pass relativedelta a datetime object…