aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| * | | | | | | | | | | | | | | | Supress NotFound when archiving a nominationGravatar Chris Lovering2021-12-01-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This supresses both the mesage deleteions and the thread archive, so that if they are removed before the code can get to them, it does not raise an error.
| * | | | | | | | | | | | | | | | Update nomination message regexGravatar Chris Lovering2021-12-01-2/+1
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | Manage nomination threadsGravatar Chris Lovering2021-12-01-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change creates a thread while posting the nomination, and then archives it once the nomination is concluded.
| * | | | | | | | | | | | | | | | Refactor make_review to return nominee tooGravatar Chris Lovering2021-12-01-9/+9
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | Add thread archive time enum to constantsGravatar Chris Lovering2021-12-01-0/+12
|/ / / / / / / / / / / / / / / /
| * | | | | | | | | | | | | | | Subscribe command replies to invocation to keep contextGravatar Chris Lovering2021-11-30-1/+1
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Add lock emoji to highlight unavailable self-assignable rolesGravatar Chris Lovering2021-11-30-1/+1
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Swap remove and unavailable colours for subscribe commandGravatar Chris Lovering2021-11-30-2/+2
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Sort unavailable self-assignable roles to the end of the listGravatar Chris Lovering2021-11-30-0/+3
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Allow roles to be assignable over multiple monthsGravatar Chris Lovering2021-11-30-23/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This includes a refactor to use a dataclass for clearer implementation. Along with that, this changes the roles so that they're always available, but un-assignable roles are in red and give a different error.
| * | | | | | | | | | | | | | | Delete the subscribe message after 5 minutesGravatar Chris Lovering2021-11-30-1/+6
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Use new get_logger helper utilGravatar Chris Lovering2021-11-30-3/+2
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Stop listening for events when message is deletedGravatar Chris Lovering2021-11-30-0/+2
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Add 10s member cooldown to subscribe commandGravatar Chris Lovering2021-11-30-0/+1
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Ensure the user interacting is still in guild before changing rolesGravatar Chris Lovering2021-11-30-0/+4
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Add an interactive subscribe commandGravatar Chris Lovering2021-11-30-0/+139
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This command gives the users a set of buttons to click to add or remove pre-determined announcement roles. Adding or removing a role updates the button state to reflect the change and what would happen if the user clicks the button again.
| * | | | | | | | | | | | | | | Add self assignable roles to configGravatar Chris Lovering2021-11-30-0/+10
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Remove the subscribe command from the verification cogGravatar Chris Lovering2021-11-30-67/+4
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Move handle_role_change to a util fileGravatar Chris Lovering2021-11-30-21/+32
|/ / / / / / / / / / / / / / /
* | | | | | | | | | | | | | | Merge pull request #1981 from python-discord/bsoyka/rules-shortening-spaceGravatar Johannes Christ2021-11-29-3/+3
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Small changes to invalid rule indices message shortening
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'main' into bsoyka/rules-shortening-spaceGravatar ChrisJL2021-11-29-1/+1
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Refactor long lineGravatar Ben Soyka2021-11-27-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Doing this similar to how the docs command works for shortening
| * | | | | | | | | | | | | | | Add missing space in text shortening placeholderGravatar Ben Soyka2021-11-27-1/+1
| | | | | | | | | | | | | | | |
| | | | | | | | | * | | | | | | Remove debug `maxDiff` assignment.Gravatar Izan2021-11-25-1/+0
| | | | | | | | | | | | | | | |
| | | | | | | | | * | | | | | | Fix testsGravatar Izan2021-11-16-8/+19
| | | | | | | | | | | | | | | |
| | | | | | | | | * | | | | | | Display whether DM was sent to user when listing infraction(s).Gravatar Izan2021-11-16-4/+27
| | | | | | | | | | | | | | | |
| | | | | | | | | | * | | | | | Clarify that a resent infraction DM is not a new infraction.Gravatar MarkKoz2021-07-15-1/+4
| | | | | | | | | | | | | | | |
| | | | | | | | | | * | | | | | Disallow resending hidden infractionsGravatar MarkKoz2021-07-15-0/+4
| | | | | | | | | | | | | | | |
| | | | | | | | | | * | | | | | Fix superstarify reason displaying the incorrect nicknameGravatar MarkKoz2021-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 embedGravatar MarkKoz2021-07-15-3/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Resolve #1664
| | | | | | | | | | * | | | | | Add util function to send an infraction using an Infraction dictGravatar MarkKoz2021-07-15-19/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There was some redundant pre-processing of arguments happening before calling `notify_infraction`.
| | | | | | | | | | * | | | | | Remove unnecessary config constantGravatar MarkKoz2021-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.
| | | | | | | | | | | | | | | * Fix string quotesGravatar mathstrains212021-11-28-5/+6
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | * Merge branch 'python-discord:main' into patreonGravatar mathstrains212021-11-28-38/+407
| | | | | | | | | | | | | | | |\ | |_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | Use bright_green for "Currently Helping" DMs (#1979)Gravatar Ben Soyka2021-11-28-1/+1
|/ / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Xithrius <[email protected]>
* | | | | | | | | | | | | | | Merge pull request #1980 from python-discord/bsoyka/rules-bugGravatar ChrisJL2021-11-27-1/+4
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Limit the length of the invalid rule indices message
| * | | | | | | | | | | | | | | Change placeholder for invalid rules message shorteningGravatar Ben Soyka2021-11-27-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ... is used everywhere else across the codebase where extwrap.shorten is used, so I'm making it match here.
| * | | | | | | | | | | | | | | Limit length of the invalid rule indices messageGravatar Ben Soyka2021-11-27-1/+3
|/ / / / / / / / / / / / / / /
* | | | | | | | | | | | | | | Suppress NotFound error when cleaning messagesGravatar zephyrus2021-11-24-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added suppress for notfound error * Update clean.py
* | | | | | | | | | | | | | | Merge pull request #1971 from python-discord/optional-timeblocksGravatar Johannes Christ2021-11-23-2/+11
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Deal with activity_blocks not being returned by site
| * | | | | | | | | | | | | | | Deal with activity_blocks not being returned by siteGravatar Chris Lovering2021-11-22-2/+11
|/ / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We are planning to change metricity endpoints on site so that activcity_blocks are not returned if the user has more than 1000 messages. This is because the query to calculate those blocks can get expensive at a high message count. To deal with this, both places activity_blocks are used has been changed to reflect this planned behaviour.
* | | | | | | | | | | | | | | Merge pull request #1959 from python-discord/allow-reply-in-remindGravatar Johannes Christ2021-11-22-2/+16
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add ability to reply to message for `!remind`
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'main' into allow-reply-in-remindGravatar TizzySaurus2021-11-22-29/+371
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | Merge pull request #1966 from python-discord/disable-file-logsGravatar Matteo Bertucci2021-11-21-9/+11
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Disable File Logging By Default
| * | | | | | | | | | | | | | | | Disable File Logging By DefaultGravatar Hassan Abouelela2021-11-20-9/+11
|/ / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Place logging to file behind an environment variable, and remove special considerations made for it. Signed-off-by: Hassan Abouelela <[email protected]>
* | | | | | | | | | | | | | | | Merge pull request #1965 from python-discord/ChrisLovering-patch-1Gravatar Matteo Bertucci2021-11-19-2/+2
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove unneeded new lines
| * | | | | | | | | | | | | | | | 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
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \