| Commit message (Collapse) | Author | Age | Lines | ||
|---|---|---|---|---|---|
| ... | |||||
| | * | | | | | | 📝 Update `notify_none_remaining` docstring | 2022-01-31 | -5/+4 | ||
| | | | | | | | | |||||
| | * | | | | | | ♻️Rename `notify` -> `notify_none_remaining` | 2022-01-31 | -2/+2 | ||
| | | | | | | | | |||||
| | * | | | | | | 🔧 Add `notify_running_low` config values | 2022-01-31 | -3/+3 | ||
| | | | | | | | | |||||
| | * | | | | | | 🔧 Add `notify_running_low` config values | 2022-01-31 | -2/+4 | ||
| | | | | | | | | |||||
| | * | | | | | | 🔧 Add `notify_running_low` config values | 2022-01-31 | -10/+7 | ||
| | | | | | | | | |||||
| | * | | | | | | ✏️`LATEST_MESSSAGE` -> `LATEST_MESSAGE` | 2022-01-31 | -2/+2 | ||
| | | | | | | | | |||||
| | | * | | | | | chore: Disallow code snippets in DMs | 2022-02-28 | -22/+16 | ||
| | | | | | | | | |||||
| | | * | | | | | Fix two errors | 2022-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. | 2022-02-14 | -10/+17 | ||
| | | | | | | | | |||||
| | | | * | | | | Add more expiration details to infraction DMs | 2022-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 command | 2022-02-22 | -2/+3 | ||
| | | | | | | | | |||||
| | | | * | | | | Merge main into feat/mod/1664/resend-infraction | 2022-02-22 | -3699/+7418 | ||
| | | | |\ \ \ \ | |_|_|/ / / / |/| | | | | | | |||||
| | | | * | | | | Clarify that a resent infraction DM is not a new infraction. | 2021-07-15 | -1/+4 | ||
| | | | | | | | | |||||
| | | | * | | | | Disallow resending hidden infractions | 2021-07-15 | -0/+4 | ||
| | | | | | | | | |||||
| | | | * | | | | Fix superstarify reason displaying the incorrect nickname | 2021-07-15 | -11/+7 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Because the edit was happening before the reason string was formatted, the edit updated the state of the user object, causing the nickname to be the superstarified one rather than the one the user was attempting to use. | ||||
| | | | * | | | | Add command to resend infraction embed | 2021-07-15 | -3/+13 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Resolve #1664 | ||||
| | | | * | | | | Add util function to send an infraction using an Infraction dict | 2021-07-15 | -19/+45 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There was some redundant pre-processing of arguments happening before calling `notify_infraction`. | ||||
| | | | * | | | | Remove unnecessary config constant | 2021-07-15 | -2/+0 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's only being used as an anchor in the YAML file. There is no need to have it in Python if no Python code references it. | ||||
| | | | | * | | | chore: Simplify the permissions checking in duck ponds | 2022-02-28 | -17/+3 | ||
| | | | | | | | | |||||
| | | | | * | | | Use `discord.Guild.get_channel_or_thread()` instead of `discord.utils.get()` | 2022-02-17 | -1/+1 | ||
| | | | | | | | | |||||
| | | | | * | | | Allow duckifying of messages in threads | 2022-02-14 | -5/+11 | ||
| | | | |/ / / | | |/| | | | |||||
| | | | | * | | apply decorator on superstarify too | 2022-03-18 | -0/+2 | ||
| | | | | | | | |||||
| | | | | * | | try-except to prevent a TypeError instead of `if isinstance` | 2022-03-18 | -2/+5 | ||
| | | | | | | | |||||
| | | | | * | | rename function to be more generic | 2022-03-18 | -17/+17 | ||
| | | | | | | | |||||
| | | | | * | | move duration check to a decorator | 2022-03-01 | -12/+40 | ||
| | | | | | | | |||||
| | | | | * | | remove unused imports | 2022-02-21 | -2/+0 | ||
| | | | | | | | |||||
| | | | | * | | Merge remote-tracking branch 'upstream/main' into bug/infr-duration | 2022-02-21 | -529/+1063 | ||
| | | | | |\ \ | |_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # bot/exts/moderation/infraction/_scheduler.py # bot/exts/moderation/infraction/management.py | ||||
| * | | | | | | Merge pull request #2078 from python-discord/chris/fix/help-channel-errors | 2022-02-20 | -7/+62 | ||
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | Ensure claimant cache is populated on help channel init | ||||
| | * | | | | | | Handle uncached claimant on unclaim | 2022-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 init | 2022-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 Discord | 2022-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) | 2022-02-20 | -2/+6 | ||
| | | | | | | | |||||
| * | | | | | | Merge pull request #2094 from python-discord/fix-bot-2093 | 2022-02-19 | -0/+13 | ||
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | Validate regex when adding to the filter_token filter | ||||
| | * \ \ \ \ \ | Merge branch 'main' into fix-bot-2093 | 2022-02-19 | -18/+156 | ||
| | |\ \ \ \ \ \ | |/ / / / / / |/| | | | | | | |||||
| * | | | | | | | Merge pull request #2098 from minalike/enhancement/uid-mod-alerts2 | 2022-02-19 | -2/+7 | ||
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | Add user ID in message content for mod-alerts, but not for autobans | ||||
| | * \ \ \ \ \ \ | Merge branch 'main' into enhancement/uid-mod-alerts2 | 2022-02-19 | -0/+147 | ||
| | |\ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | | | |||||
| * | | | | | | | | Merge pull request #2084 from python-discord/thread-bumper-cog | 2022-02-18 | -0/+147 | ||
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | Add a cog to bump threads | ||||
| | * | | | | | | | | fixup: implemeent code review comments | 2022-02-18 | -3/+8 | ||
| | | | | | | | | | | |||||
| | * | | | | | | | | Add logic so that manually archived threads bypass the thread bump list | 2022-02-18 | -9/+37 | ||
| | | | | | | | | | | |||||
| | * | | | | | | | | Add a cog to bump threads | 2022-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 autobans | 2022-02-19 | -2/+7 | ||
| |/ / / / / / / | |||||
| * | | | | | | | Merge pull request #2097 from python-discord/fix-bot-2004 | 2022-02-18 | -16/+1 | ||
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | Remove auto joining of new threads. | ||||
| | * \ \ \ \ \ \ | Merge branch 'main' into fix-bot-2004 | 2022-02-18 | -1/+2 | ||
| | |\ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | | | |||||
| * | | | | | | | | Merge pull request #2096 from minalike/enhancement/uid-mod-alert | 2022-02-18 | -1/+2 | ||
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | Add user ID to message content for all mod alerts | ||||
| | * | | | | | | | | Add user ID to message content for all mod alerts | 2022-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. | 2022-02-18 | -16/+1 | ||
| |/ / / / / / / | |||||
| | * | | | | | | Remove unnecessary assignment | 2022-02-18 | -1/+1 | ||
| | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: ChrisJL <[email protected]> | ||||
| | * | | | | | | Include regex error in failure message | 2022-02-17 | -2/+2 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f | ||||
| | * | | | | | | Validate regex when adding to the filter_token filter | 2022-02-17 | -0/+13 | ||
| |/ / / / / / | |||||
| * | | | | | | Remove unnecessary Infraction conversion in clean ban (#2092) | 2022-02-16 | -6/+3 | ||
| | | | | | | | |||||