aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| | * | | | | | | | | | | | Updated infractions display for updatesGravatar ionite342022-08-13-23/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Added new infraction delta calculations to updated infractions. - Updates of infraction durations now also update the `last_applied` field. - `inserted_at` is now sent by the bot client to denote the original unmodified infraction application time
| | * | | | | | | | | | | | Corrected test use of utcnowGravatar ionite342022-08-13-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Corrected test case to use `datetime.utcnow()` to be consistent with target
| | * | | | | | | | | | | | Updated previous tests to use subset methodGravatar ionite342022-08-06-7/+5
| | | | | | | | | | | | | |
| | * | | | | | | | | | | | Refactored test to not use datetime patchGravatar ionite342022-08-06-8/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Used new method of dict subset comparison instead of datetime patching for better compat. with argument types
| | * | | | | | | | | | | | Removed `inserted_at` fallbackGravatar ionite342022-08-06-13/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Given API updates, the fallback is not needed
| | * | | | | | | | | | | | Changed datetime.now to arrow.utcnowGravatar ionite342022-08-06-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Used arrow.utcnow to reduce complexity and import
| | * | | | | | | | | | | | Infraction duration fallback if no `last_applied` fieldGravatar ionite342022-08-01-2/+13
| | | | | | | | | | | | | |
| | * | | | | | | | | | | | Added microsecond rounding for `humanize_delta`Gravatar ionite342022-08-01-1/+16
| | | | | | | | | | | | | |
| | * | | | | | | | | | | | Added new expiry usage to applyGravatar ionite342022-07-31-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Added new usage of `last_applied` time for duration calculation in `apply_infraction`
| | * | | | | | | | | | | | Use `last_applied` to display durationGravatar ionite342022-07-28-1/+2
| | | | | | | | | | | | | |
| | * | | | | | | | | | | | Correct last_applied formattingGravatar ionite342022-07-28-1/+1
| | | | | | | | | | | | | |
| | * | | | | | | | | | | | Fixed testsGravatar ionite342022-07-28-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Corrected datetime patching
| | * | | | | | | | | | | | Updated ban command docstringGravatar ionite342022-07-28-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Updated docstring to be more explicit on parameter fields
| | * | | | | | | | | | | | Updated parameter namesGravatar ionite342022-07-28-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Changed `duration` parameter names to `duration_or_expiry` to more accurately reflect options for help
| | * | | | | | | | | | | | Added isoformat for test payloadGravatar ionite342022-07-28-1/+1
| | | | | | | | | | | | | |
| | * | | | | | | | | | | | Fixed test patchesGravatar ionite342022-07-28-15/+17
| | | | | | | | | | | | | |
| | * | | | | | | | | | | | Updated testsGravatar ionite342022-07-28-17/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Refactored tests for new time duration arguments
| | * | | | | | | | | | | | Ran isort on importsGravatar ionite342022-07-28-2/+2
| | | | | | | | | | | | | |
| | * | | | | | | | | | | | Refactoring for DurationOrExpiryGravatar ionite342022-07-28-25/+33
| | | | | | | | | | | | | |
| | * | | | | | | | | | | | Added `DurationOrExpiry` type unionGravatar ionite342022-07-28-0/+1
| | |/ / / / / / / / / / /
| | | * | | | | | | | | | Add note to docstring, fix type-hints, and update log messagesGravatar wookie1842022-08-06-6/+14
| | | | | | | | | | | | |
| | | * | | | | | | | | | Fix testsGravatar wookie1842022-08-04-12/+18
| | | | | | | | | | | | |
| | | * | | | | | | | | | Refactor infractions to avoid passing around coroutinesGravatar wookie1842022-08-04-16/+23
| |_|/ / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This avoids warnings if they are never awaited, e.g. when functions are mocked in tests
| | | | | | | | | | | * Change f-string to normal stringGravatar wookie1842022-09-19-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: ChrisJL <[email protected]>
| | | | | | | | | | | * Fix testsGravatar wookie1842022-08-07-4/+3
| | | | | | | | | | | |
| | | | | | | | | | | * Fix enabling/disabling of task loopGravatar wookie1842022-08-07-8/+23
| | | | | | | | | | | |
| | | | | | | | | | | * Write tests for reviewerGravatar wookie1842022-08-07-0/+153
| | | | | | | | | | | |
| | | | | | | | | | | * Fix message detection and remove unused parameterGravatar wookie1842022-08-07-9/+6
| | | | | | | | | | | |
| | | | | | | | | | | * Dont await tasks.loop methodsGravatar wookie1842022-08-06-3/+3
| | | | | | | | | | | |
| | | | | | | | | | | * Make handling of reviews over multiple messages more robustGravatar wookie1842022-08-06-3/+8
| | | | | | | | | | | |
| | | | | | | | | | | * Remove now unused scheduler from talentpoolGravatar wookie1842022-08-06-66/+4
| | | | | | | | | | | |
| | | | | | | | | | | * Implement new autoreview system.Gravatar wookie1842022-08-06-16/+111
| |_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now supports: - limiting number of active reviews - limiting minimum time between reviews Order of review is based on number of nomination entries, and age of nomination.
* | | | | | | | | | | Merge pull request #2240 from python-discord/2238-purge-cmdGravatar mina2022-08-03-2/+8
|\ \ \ \ \ \ \ \ \ \ \ | |_|/ / / / / / / / / |/| | | | | | | | | | Updated `purge` to require at least one user
| * | | | | | | | | | Improved `purge` help messageGravatar ionite342022-08-03-1/+1
| | | | | | | | | | |
| * | | | | | | | | | Removed unused importGravatar ionite342022-08-03-1/+1
| | | | | | | | | | |
| * | | | | | | | | | Updated `purge` to require >1 usersGravatar ionite342022-08-03-3/+9
|/ / / / / / / / / /
* | | | | | | | | | Merge pull request #2224 from python-discord/sid/feature/tags/print-returnGravatar ChrisJL2022-07-24-0/+9
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | feat(tags): add print-return tag
| * \ \ \ \ \ \ \ \ \ Merge branch 'main' into sid/feature/tags/print-returnGravatar mina2022-07-24-8/+9
| |\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / |/| | | | | | | | | |
* | | | | | | | | | | Merge pull request #2220 from python-discord/fix-bot-2168Gravatar wookie1842022-07-23-8/+9
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Update `!modpings off` confirmation to use a discord timestamp.
| * \ \ \ \ \ \ \ \ \ \ Merge branch 'main' into fix-bot-2168Gravatar wookie1842022-07-23-181/+1397
| |\ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / |/| | | | | | | | | | |
| * | | | | | | | | | | Update `!modpings off` confirmation to use a discord timestamp.Gravatar Izan2022-07-23-8/+9
| | | | | | | | | | | |
| | * | | | | | | | | | Merge branch 'main' into sid/feature/tags/print-returnGravatar ChrisJL2022-07-21-28/+28
| | |\ \ \ \ \ \ \ \ \ \ | |_|/ / / / / / / / / / |/| | | | | | | | | | |
* | | | | | | | | | | | Merge pull request #2225 from python-discord/snekbox-snagsGravatar ChrisJL2022-07-21-28/+28
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | Use the view clear on timeout feature from bot-core in snekbox
| * | | | | | | | | | | | Start 3.11 snekbox container by defaultGravatar Chris Lovering2022-07-21-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since snekbox uses 3.11 by default, it makes sense for this one to be started by default, and the 3.10 container to be opt-in.
| * | | | | | | | | | | | Update snekbox tests to expect new outputGravatar Chris Lovering2022-07-21-11/+13
| | | | | | | | | | | | |
| * | | | | | | | | | | | Include what version of Python was used in snekbox output.Gravatar Chris Lovering2022-07-21-6/+6
| | | | | | | | | | | | |
| * | | | | | | | | | | | Use the view clear on timeout feature from bot-core in snekboxGravatar Chris Lovering2022-07-21-9/+7
|/ / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will mean the buttons will be cleared from the response on interaction timeout.
| | * | | | | | | | | | fix(tags/print-return): use the raw GitHub URL for the GIFGravatar Siddhesh Mhadnak2022-07-17-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As mentioned in the previous commit, using the raw GitHub URL would be more reliable than a Discord CDN URL.
| | * | | | | | | | | | chore(tags/print-return): add the GIF to the repoGravatar Siddhesh Mhadnak2022-07-17-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As discussed in https://discord.com/channels/267624335836053506/635950537262759947/998235482494353508, using the raw GitHub URL for the GIF would be more reliable than the Discord CDN URL.
| | * | | | | | | | | | style(tags/print-return): set the `title` property instead of using bolded textGravatar Siddhesh Mhadnak2022-07-17-2/+1
| | | | | | | | | | | |