aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Merge pull request #1680 from python-discord/feat/mod/1664/resend-infractionGravatar Mark2022-03-09-65/+95
|\ | | | | Add command to resend infraction DM
| * Fix detection of expired infractions in DMsGravatar MarkKoz2022-03-05-6/+4
| |
| * Merge main into feat/mod/1664/resend-infractionGravatar MarkKoz2022-03-05-1160/+1232
| |\ | |/ |/|
* | Merge pull request #2103 from python-discord/disnake-migrationGravatar ChrisJL2022-03-06-1107/+1108
|\ \ | | | | | | Disnake migration
| * | No longer use Interaction.message, as it was removed from disnakeGravatar Chris Lovering2022-03-05-15/+11
| | | | | | | | | | | | interaction.response is what should be used now instead.
| * | Migrate to use monkey patches from botcoreGravatar Chris Lovering2022-03-05-202/+191
| | |
| * | Update all references of discord.py to disnakeGravatar Chris Lovering2022-03-05-734/+735
| | | | | | | | | | | | All of the tag content is out of scope for this PR.
| * | Migrate from Discord.py to disnakeGravatar Chris Lovering2022-03-05-190/+205
|/ /
* | Merge pull request #2086 from python-discord/fix-bot-2081Gravatar ChrisJL2022-03-04-0/+3
|\ \ | | | | | | Fix DM handling for code snippets.
| * \ Merge branch 'main' into fix-bot-2081Gravatar ChrisJL2022-03-04-117/+643
| |\ \ | |/ / |/| |
* | | Merge pull request #2107 from an-dyy/patch-1Gravatar ToxicKidz2022-03-01-5/+21
|\ \ \ | | | | | | | | fix: Make the help command's button only work for author
| * | | docs: Added docstring for moderator accessGravatar an-dyy2022-03-01-1/+5
| | | |
| * | | feat: Allow moderators to use buttons in other people's help commandGravatar andy2022-02-28-1/+3
| | | |
| * | | docs: Make docstring sound betterGravatar andy2022-02-28-1/+1
| | | |
| * | | fix: Make help buttons only work for authorGravatar andy2022-02-28-5/+15
|/ / /
* | | Merge pull request #2071 from minalike/feature/nonpinging-helper-notifyGravatar ToxicKidz2022-02-23-46/+97
|\ \ \ | | | | | | | | Notify helpers without ping when dormant channels are running low
| * \ \ Merge branch 'main' into feature/nonpinging-helper-notifyGravatar ToxicKidz2022-02-23-121/+545
| |\ \ \ | |/ / / |/| | |
* | | | Merge pull request #2101 from python-discord/fix/help-channels-attribute-errorGravatar ToxicKidz2022-02-23-3/+4
|\ \ \ \ | | | | | | | | | | Make sure the regex match is not None before adding to claimaints cache
| * | | | fix: Make sure the regex match is not None before adding to claimaints cacheGravatar ToxicKidz2022-02-23-3/+4
|/ / / / | | | | | | | | | | | | If there was a bot message in a help channel that contained an embed that was not the claimed channel message, this would raise an attribute error.
| * | | Fixup: remove extra blank lineGravatar minalike2022-02-22-1/+0
| | | |
| * | | πŸ› Fix to correctly calculate number of seconds from last notificationGravatar minalike2022-02-22-2/+2
| | | | | | | | | | | | | | | | total_seconds() is the correct method to obtain a time delta in seconds
| * | | πŸ‘Œ Only send metric if helpers were notifiedGravatar minalike2022-02-22-6/+4
| | | |
| * | | πŸ‘Œ Fix indentation and update grammar for when only 1 channel remainsGravatar minalike2022-02-22-8/+11
| | | |
| * | | πŸ’‘ Update docstrings to reflect changesGravatar GDWR2022-02-03-0/+6
| | | |
| * | | 🚨 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