aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| * | | | | | | | | | | 🚨 Linting fixesGravatar GDWR2022-02-03-3/+8
| | | | | | | | | | | |
| * | | | | | | | | | | πŸ‘Œ Remove the need to pass in channel via argumentsGravatar GDWR2022-02-03-15/+13
| | | | | | | | | | | |
| * | | | | | | | | | | ♻️Move notifications into `_message.py` with predicateGravatar GDWR2022-02-03-30/+55
| | | | | | | | | | | |
| * | | | | | | | | | | πŸ’‘ Comment usage of arbitrarily old dateGravatar GDWR2022-02-03-0/+1
| | | | | | | | | | | |
| * | | | | | | | | | | πŸ‘Œ Remove redundant parenthesisGravatar GDWR2022-02-03-1/+1
| | | | | | | | | | | |
| * | | | | | | | | | | 🚨 Linting fixesGravatar GDWR2022-02-01-4/+8
| | | | | | | | | | | |
| * | | | | | | | | | | ✨ Notify running low on channelsGravatar GDWR2022-02-01-30/+29
| | | | | | | | | | | |
| * | | | | | | | | | | πŸ’‘ Update docstringsGravatar GDWR2022-01-31-1/+16
| | | | | | | | | | | |
| * | | | | | | | | | | πŸ“ Update `notify_none_remaining` docstringGravatar GDWR2022-01-31-5/+4
| | | | | | | | | | | |
| * | | | | | | | | | | ♻️Rename `notify` -> `notify_none_remaining`Gravatar GDWR2022-01-31-2/+2
| | | | | | | | | | | |
| * | | | | | | | | | | πŸ”§ Add `notify_running_low` config valuesGravatar GDWR2022-01-31-3/+3
| | | | | | | | | | | |
| * | | | | | | | | | | πŸ”§ Add `notify_running_low` config valuesGravatar GDWR2022-01-31-2/+4
| | | | | | | | | | | |
| * | | | | | | | | | | πŸ”§ Add `notify_running_low` config valuesGravatar GDWR2022-01-31-10/+7
| | | | | | | | | | | |
| * | | | | | | | | | | ✏️`LATEST_MESSSAGE` -> `LATEST_MESSAGE`Gravatar GDWR2022-01-31-2/+2
| | | | | | | | | | | |
| | * | | | | | | | | | chore: Disallow code snippets in DMsGravatar ToxicKidz2022-02-28-22/+16
| | | | | | | | | | | |
| | * | | | | | | | | | Fix two errorsGravatar Izan2022-02-17-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Changed `destination.guild` to `message.guild` since `DMChannel` doesn't have a "guild" attribute - Only call `wait_for_deletion` when inside a guild.
| | * | | | | | | | | | Fix DM handling for code snippets.Gravatar Izan2022-02-14-10/+17
| | | | | | | | | | | |
| | | * | | | | | | | | Add more expiration details to infraction DMsGravatar MarkKoz2022-03-05-2/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Separate the expiration timestamp and the duration. Explicitly indicate if an infraction is permanent or expired. Include the time remaining as a humanised delta.
| | | * | | | | | | | | Fix Member fetch in resend infraction commandGravatar MarkKoz2022-02-22-2/+3
| | | | | | | | | | | |
| | | * | | | | | | | | Merge main into feat/mod/1664/resend-infractionGravatar MarkKoz2022-02-22-3699/+7418
| | | |\ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / / / / |/| | | | | | | | | | |
* | | | | | | | | | | | Merge pull request #2078 from python-discord/chris/fix/help-channel-errorsGravatar ChrisJL2022-02-20-7/+62
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | Ensure claimant cache is populated on help channel init
| * | | | | | | | | | | | Handle uncached claimant on unclaimGravatar Chris Lovering2022-02-20-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This could be possible during init_available. If there are too many available channels they are made dormant by calling unclaim_channel. However there may not be claimants cached and ensure_claimants wouldn't populate cache, since the channels weren't in use.
| * | | | | | | | | | | | Ensure each in-use channel has a cached claimant on initGravatar Chris Lovering2022-02-20-0/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This avoids issues when a user tries to close a channel, but the cache is empty, so the author check fails.
| * | | | | | | | | | | | Cancel help channel claim on 500 from DiscordGravatar Chris Lovering2022-02-20-2/+19
|/ / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If we get a 500 error from Discord when trying to move the help channel to in use, attempt to let the user know, then cancel the claim.
* | | | | | | | | | | | Remove discord formatted timestamp from log message (#2100)Gravatar TizzySaurus2022-02-20-2/+6
| | | | | | | | | | | |
* | | | | | | | | | | | Merge pull request #2094 from python-discord/fix-bot-2093Gravatar ChrisJL2022-02-19-0/+13
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | Validate regex when adding to the filter_token filter
| * \ \ \ \ \ \ \ \ \ \ \ Merge branch 'main' into fix-bot-2093Gravatar ChrisJL2022-02-19-18/+156
| |\ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / |/| | | | | | | | | | | |
* | | | | | | | | | | | | Merge pull request #2098 from minalike/enhancement/uid-mod-alerts2Gravatar ChrisJL2022-02-19-2/+7
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add user ID in message content for mod-alerts, but not for autobans
| * \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'main' into enhancement/uid-mod-alerts2Gravatar ChrisJL2022-02-19-0/+147
| |\ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / |/| | | | | | | | | | | | |
* | | | | | | | | | | | | | Merge pull request #2084 from python-discord/thread-bumper-cogGravatar ChrisJL2022-02-18-0/+147
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a cog to bump threads
| * | | | | | | | | | | | | | fixup: implemeent code review commentsGravatar Chris Lovering2022-02-18-3/+8
| | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | Add logic so that manually archived threads bypass the thread bump listGravatar Chris Lovering2022-02-18-9/+37
| | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | Add a cog to bump threadsGravatar Chris Lovering2022-02-18-0/+114
|/ / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Quite often we want threads such as event discussions, or moderation discussions to live beyond their maximum of 1 week of auto-archival. This cog allows staff to add a thread to a list that will get 'bumped' back open by the bot when they are auto-archived
| * / / / / / / / / / / / / Add user ID in message content for mod-alerts, but not for autobansGravatar mina2022-02-19-2/+7
|/ / / / / / / / / / / / /
* | | | | | | | | | | | | Merge pull request #2097 from python-discord/fix-bot-2004Gravatar ChrisJL2022-02-18-16/+1
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove auto joining of new threads.
| * \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'main' into fix-bot-2004Gravatar ChrisJL2022-02-18-1/+2
| |\ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / |/| | | | | | | | | | | | |
* | | | | | | | | | | | | | Merge pull request #2096 from minalike/enhancement/uid-mod-alertGravatar ChrisJL2022-02-18-1/+2
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add user ID to message content for all mod alerts
| * | | | | | | | | | | | | | Add user ID to message content for all mod alertsGravatar minalike2022-02-17-1/+2
|/ / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a temporary quality of life improvement until filters rewrite. Largely benefits mobile moderators who cannot copy from embeds.
| * / / / / / / / / / / / / Remove auto joining of new threads.Gravatar Izan2022-02-18-16/+1
|/ / / / / / / / / / / / /
| * | | | | | | | | | | | Remove unnecessary assignmentGravatar TizzySaurus2022-02-18-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: ChrisJL <[email protected]>
| * | | | | | | | | | | | Include regex error in failure messageGravatar Izan2022-02-17-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f
| * | | | | | | | | | | | Validate regex when adding to the filter_token filterGravatar Izan2022-02-17-0/+13
|/ / / / / / / / / / / /
* | | | | | | | | | | | Remove unnecessary Infraction conversion in clean ban (#2092)Gravatar ChrisJL2022-02-16-6/+3
| | | | | | | | | | | |
* | | | | | | | | | | | Merge pull request #2033 from python-discord/purge-to-cleanGravatar ChrisJL2022-02-16-38/+286
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | Use custom clean cog when purge banning
| * | | | | | | | | | | | Typo and docstrings in clean ban testsGravatar Chris Lovering2022-02-16-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: GDWR <[email protected]>
| * | | | | | | | | | | | Send error when cleanban fails to banGravatar Chris Lovering2022-02-16-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: GDWR <[email protected]>
| * | | | | | | | | | | | Add tests for new CleanBan and Clean functionalityGravatar Chris Lovering2022-02-16-1/+193
| | | | | | | | | | | | |
| * | | | | | | | | | | | Don't append clean log if no clean was done from purge banGravatar Chris Lovering2022-02-16-0/+3
| | | | | | | | | | | | |
| * | | | | | | | | | | | Add more aliases to purgebanGravatar Chris Lovering2022-02-16-2/+2
| | | | | | | | | | | | |
| * | | | | | | | | | | | Change purgeban to use custom clean logicGravatar Chris Lovering2022-02-16-17/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This migrates the purgeban command away from Discord's native purgeban to our custom logic. Discord's native purgeban does not leave us with any evidence or context of what messages were deleted. So when mods reference the infraction at a later date they are lacking information. Instead, we use our custom clean cog to delete all messages from the user in question for the last hour, and automatically append the link to the clean log to the infraction reason. .