aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Removed italics from the help command (#2272)Gravatar Mohammad Ibrahim2022-09-17-5/+5
| | | | | | | * removed asterisk from embed description * removed italics from line 334, 375 and 415 * pagination.py, L239 added italics
* Merge pull request #2233 from python-discord/bot-2231-bugGravatar wookie1842022-09-16-26/+38
|\ | | | | Allow referencing message as argument to `!remind edit content`
| * Merge branch 'main' into bot-2231-bugGravatar wookie1842022-09-16-211/+392
| |\ | |/ |/|
* | Merge pull request #2276 from python-discord/ignore-mounted-project-venvsGravatar Joe Banks2022-09-16-2/+6
|\ \
| * \ Merge branch 'main' into ignore-mounted-project-venvsGravatar Joe Banks2022-09-16-1/+1
| |\ \ | |/ / |/| |
* | | Removed "redis_ready" from additional_spec_asyncs in MockBot (#2275)Gravatar Aleksey Zasorin2022-09-16-1/+1
| | | | | | | | | The attribute was removed from Bot in fc05849
| * | Specify the path for poetry venvsGravatar Chris Lovering2022-09-13-1/+2
| | | | | | | | | | | | Without this the venv would be created in /root/.cache and the nonn-root user that prod runs under would not have access to it.
| * | Ignore mounted in-project venvs on startupGravatar Chris Lovering2022-09-13-1/+4
|/ / | | | | | | | | | | Poetry's virtualenvs.in-project config deafults to None, meaning it will use in-project venvs if it finds one, otherwise it will use the cache dir. In dev we mount the entire root project directory to /bot. This means if the host's venv in in the project dir, this will get mounted and prioritised by poetry run. If the host is on a non-linux OS this will cause poetry to fail to boot.
* | Merge pull request #2268 from python-discord/pin-poetry-to-1.1.XGravatar Hassan Abouelela2022-09-13-72/+22
|\ \
| * | Don't use fake in-project venvs for poetryGravatar Chris Lovering2022-09-12-21/+13
| | | | | | | | | | | | Instead let poetry install the venv for the project in the right place, leading to a more 'traditional' poetry setup.
| * | Bump poetry in Docker and lint to 1.2.0Gravatar Chris Lovering2022-09-11-1/+1
| | |
| * | Use HassanAbouelela/setup-python for CIGravatar Chris Lovering2022-09-11-57/+5
| | |
| * | Use venvs with poetry in DockerfileGravatar Chris Lovering2022-09-10-6/+16
|/ / | | | | | | This is required due to a regression in poetry, see https://github.com/HassanAbouelela/actions/pull/7
* | Merge pull request #2234 from python-discord/infraction-durationsGravatar Boris Muratov2022-08-19-59/+133
|\ \ | | | | | | Fixes infraction display duration off-by-one discrepancy
| * \ Merge branch 'main' into infraction-durationsGravatar Boris Muratov2022-08-19-33/+186
| |\ \ | |/ / |/| |
* | | Merge pull request #2260 from Dorukyum/channel.guild-nullableGravatar Karlis Suvi2022-08-19-1/+1
|\ \ \
| * \ \ Merge branch 'main' into channel.guild-nullableGravatar Karlis Suvi2022-08-19-12/+124
| |\ \ \ | |/ / / |/| | |
* | | | fix: don't include replied mentions in mention filter (#2017)Gravatar arl2022-08-18-12/+124
| | | | | | | | | | | | | | | | | | | | Co-authored-by: Izan <[email protected]> Co-authored-by: TizzySaurus <[email protected]> Co-authored-by: Xithrius <[email protected]>
| * | | Check if channel.guild is NoneGravatar Dorukyum2022-08-18-1/+1
|/ / /
* | | Merge pull request #2031 from python-discord/incident-archive-msg-improvementsGravatar wookie1842022-08-18-19/+53
|\ \ \ | | | | | | | | Incident archive msg improvements
| * \ \ Merge branch 'main' into incident-archive-msg-improvementsGravatar wookie1842022-08-18-46/+53
| |\ \ \ | |/ / / |/| | |
* | | | Merge pull request #2250 from python-discord/dawnofmidnight/compbanGravatar wookie1842022-08-18-1/+8
|\ \ \ \ | | | | | | | | | | feat: command for banning compromised accounts
| * \ \ \ Merge branch 'main' into dawnofmidnight/compbanGravatar wookie1842022-08-18-45/+44
| |\ \ \ \ | |/ / / / |/| | | |
| * | | | fix: replace datetime.utcnow() with arrowGravatar dawnofmidnight2022-08-17-4/+4
| | | | |
| * | | | fix: change use of arrow to datetime and change docstring wordingGravatar dawnofmidnight2022-08-15-5/+5
| | | | |
| * | | | feat: command for banning compromised accountsGravatar dawnofmidnight2022-08-15-0/+7
| | | | |
| | * | | Fix incident tests.Gravatar Izan2022-08-15-13/+25
| | | | |
| | * | | Merge branch 'main' into incident-archive-msg-improvementsGravatar TizzySaurus2022-08-14-3856/+3624
| | |\ \ \
| | * | | | Address ReviewsGravatar Izan2022-07-14-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Use the more concise DATETIME timestamp instead of both a DATE and a TIME timestamp. - Remove underline from the "Reported ..." section at the bottom of the embed. - Re-add time of action/rejection timestamp to footer of embed.
| | * | | | Fix testsGravatar Izan2022-01-01-6/+18
| | | | | |
| | * | | | Incident archive improvementsGravatar Izan2022-01-01-6/+16
| | | | | |
| | | | * | Duration for DM changed to Edited flagGravatar ionite342022-08-19-10/+7
| | | | | |
| | | | * | Made DM duration remaining optional with resendGravatar ionite342022-08-18-6/+8
| | | | | |
| | | | * | Merge branch 'infraction-durations' of https://github.com/python-discord/bot ↵Gravatar ionite342022-08-18-1518/+382
| | | | |\ \ | | | | | | | | | | | | | | | | | | | | | into infraction-durations
| | | | | * \ Merge branch 'main' into infraction-durationsGravatar Ionite2022-08-17-3/+7
| | | | | |\ \ | |_|_|_|_|/ / |/| | | | | |
* | | | | | | Merge pull request #2251 from python-discord/automute-messageGravatar mina2022-08-17-3/+7
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Added mod alerted notice to auto-infractions
| * \ \ \ \ \ \ Merge branch 'main' into automute-messageGravatar mina2022-08-17-42/+37
| |\ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | |
| * | | | | | | Added article to automute messageGravatar ionite342022-08-16-1/+1
| | | | | | | |
| * | | | | | | Added newlines and non-mentioned mod roleGravatar ionite342022-08-16-4/+5
| | | | | | | |
| * | | | | | | Added mod alerted notice to auto-infractionsGravatar ionite342022-08-15-1/+4
| |/ / / / / /
| | | | | * | Removed unused datetime importGravatar ionite342022-08-16-1/+0
| | | | | | |
| | | | | * | Updated infractions display for updatesGravatar ionite342022-08-16-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-16-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Corrected test case to use `datetime.utcnow()` to be consistent with target
| | | | | * | Updated previous tests to use subset methodGravatar ionite342022-08-16-7/+5
| | | | | | |
| | | | | * | Refactored test to not use datetime patchGravatar ionite342022-08-16-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-16-13/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Given API updates, the fallback is not needed
| | | | | * | Changed datetime.now to arrow.utcnowGravatar ionite342022-08-16-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - Used arrow.utcnow to reduce complexity and import
| | | | | * | Infraction duration fallback if no `last_applied` fieldGravatar ionite342022-08-16-2/+13
| | | | | | |
| | | | | * | Added microsecond rounding for `humanize_delta`Gravatar ionite342022-08-16-1/+16
| | | | | | |
| | | | | * | Added new expiry usage to applyGravatar ionite342022-08-16-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - Added new usage of `last_applied` time for duration calculation in `apply_infraction`