aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* (ModLog): Removed unused `textwrap` import.Gravatar ks1292020-04-16-1/+0
|
* (ModLog Tests): Created reason shortening tests for `send_log_message`.Gravatar ks1292020-04-16-0/+29
|
* (Infraction Tests): Created reason shortening tests for ban and kick.Gravatar ks1292020-04-16-0/+54
|
* (Test Helpers): Added `__ge__` function to `MockRole` for comparing.Gravatar ks1292020-04-15-0/+4
|
* (Scheduler): Added removal of infraction in DB, when applying infraction ↵Gravatar ks1292020-04-14-18/+28
| | | | fail. Also don't send DM in this case.
* (Scheduler): Removed empty line when expiration not specified in ↵Gravatar ks1292020-04-14-3/+2
| | | | `apply_infraction`.
* (ModLog): Applied force embed description truncating in `send_log_message` ↵Gravatar ks1292020-04-14-1/+4
| | | | to avoid removing newlines.
* (Big Brother): Added truncating reason.Gravatar ks1292020-04-09-2/+3
|
* (Watchchannel): Added footer shortening.Gravatar ks1292020-04-09-1/+2
|
* (Talent Pool): Applied reason shortening.Gravatar ks1292020-04-09-5/+5
|
* (Scheduler): Replaced `infraction['reason']` with `reason` variable using in ↵Gravatar ks1292020-04-09-1/+1
| | | | `end_msg`.
* (Scheduler): Move reason to end of log text to avoid truncating keys.Gravatar ks1292020-04-09-2/+7
|
* (Mod Utils): Moved embed description to variable.Gravatar ks1292020-04-09-5/+7
|
* (Superstarify): Removed unnecessary truncation on `superstarify` command, ↵Gravatar ks1292020-04-08-1/+1
| | | | reordered ModLog text.
* (Mod Utils): Removed truncation of reason itself and added truncation to ↵Gravatar ks1292020-04-08-3/+3
| | | | whole embed in `notify_infraction`.
* (Scheduler): Removed reason truncation from `apply_infraction`, changed ↵Gravatar ks1292020-04-08-2/+2
| | | | order of ModLog embed description item in same function.
* (ModLog): Added mod log item embed description truncating when it's too long.Gravatar ks1292020-04-08-1/+2
|
* (Scheduler): Changed reason truncating in `apply_infraction` from 1900 chars ↵Gravatar ks1292020-04-08-2/+2
| | | | to 1500, added shortening to end message too.
* (Superstarify, Scheduler): Added reason shortening for ModLog.Gravatar ks1292020-04-08-2/+2
|
* (Infractions): Moved truncated reason to variable instead on ban coroutine ↵Gravatar ks1292020-04-08-5/+3
| | | | creating.
* (Infractions): Removed unnecessary logging that notify when reason will be ↵Gravatar ks1292020-04-08-6/+0
| | | | truncated for Audit Log.
* (Mod Utils): Added shortening reason on embed creation in `notify_infraction`.Gravatar ks1292020-04-08-1/+1
|
* (Ban and Kick): Added space to `textwrap.shorten` `placeholder`.Gravatar ks1292020-04-06-1/+1
|
* (Ban and Kick): Changed length in `textwrap.shorten` from 309 to 312 because ↵Gravatar ks1292020-04-06-2/+2
| | | | shorten already include `placeholder` to length.
* (Mod Scheduler): Added reason truncations to Scheduler's `apply_infraction`Gravatar ks1292020-04-05-1/+2
|
* (Ban and Kick): Applied simplification to reason truncating.Gravatar ks1292020-04-05-2/+2
|
* (Ban and Kick): Replaced force reason truncating with `textwrap.shorten`.Gravatar ks1292020-04-04-2/+3
|
* (Kick Command): Added logging and truncating to correct length for Discord ↵Gravatar ks1292020-04-04-1/+4
| | | | Audit Log when kick reason length is more than 512 characters.
* (Banning): Added logging and truncating to correct length for Discord Audit ↵Gravatar ks1292020-04-04-1/+8
| | | | Log when ban reason length is more than 512 characters.
* Merge pull request #813 from python-discord/feat/ci/b000/cache-pipenvGravatar Mark2020-04-02-10/+29
|\ | | | | Cache all Python dependencies in CI
| * Merge branch 'master' into feat/ci/b000/cache-pipenvGravatar Mark2020-04-02-446/+2002
| |\ | |/ |/|
* | Fixed missed rename for token removal method name changeGravatar S. Co12020-04-02-1/+1
| |
* | Merge pull request #832 from python-discord/fix-token-strip-logGravatar Shirayuki Nekomata2020-04-02-12/+18
|\ \ | | | | | | Update token filter logging to match expanded detection
| * \ Merge branch 'master' into fix-token-strip-logGravatar Shirayuki Nekomata2020-04-02-346/+982
| |\ \ | |/ / |/| |
* | | Add TCD to whitelistGravatar Leon Sandøy2020-04-01-0/+1
| | | | | | | | | | | | The Coding Den is a language agnostic community that's been around for years with over 12000 members. I think we can allow that invite in our community.
* | | Merge pull request #852 from ks129/infraction-editGravatar S. Co12020-03-31-1/+6
|\ \ \ | | | | | | | | Don't let change expiration time when infraction already expired.
| * \ \ Merge branch 'master' into infraction-editGravatar S. Co12020-03-31-60/+562
| |\ \ \ | |/ / / |/| | |
* | | | Merge pull request #854 from ks129/tags-trashcan-reactGravatar S. Co12020-03-31-5/+17
|\ \ \ \ | | | | | | | | | | Tags response + command message deletion with trashcan reaction
| * \ \ \ Merge branch 'master' into tags-trashcan-reactGravatar S. Co12020-03-31-55/+545
| |\ \ \ \ | |/ / / / |/| | | |
* | | | | Merge pull request #846 from python-discord/feat/filter/322/merge-tokens-wordsGravatar S. Co12020-03-31-41/+21
|\ \ \ \ \ | | | | | | | | | | | | Filtering: merge the word and token watch filters
| * \ \ \ \ Merge branch 'master' into feat/filter/322/merge-tokens-wordsGravatar S. Co12020-03-31-15/+617
| |\ \ \ \ \ | |/ / / / / |/| | | | |
* | | | | | Merge pull request #833 from ks129/zen-match-fixGravatar Sebastiaan Zeeff2020-03-31-1/+11
|\ \ \ \ \ \ | | | | | | | | | | | | | | Fixed !zen command exact word matching.
| * \ \ \ \ \ Merge branch 'master' into zen-match-fixGravatar Karlis S2020-03-31-14/+606
| |\ \ \ \ \ \ | |/ / / / / / |/| | | | | |
* | | | | | | Merge pull request #845 from python-discord/update-logging-levelsGravatar Leon Sandøy2020-03-31-10/+9
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Logging Level Adjustments
| * \ \ \ \ \ \ Merge branch 'master' into update-logging-levelsGravatar Leon Sandøy2020-03-31-12/+656
| |\ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | |
* | | | | | | | Set unsilence permissions to inherit instead of trueGravatar Sebastiaan Zeeff2020-03-30-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The "unsilence" action of the silence/hush command used `send_messages=True` when unsilencing a hushed channel. This had the side effect of also enabling send messages permissions for those with the Muted rule, as an explicit True permission apparently overwrites an explicit False permission, even if the latter was set for a higher top-role. The solution is to revert back to the `Inherit` permission by assigning `None`. This is what we normally use when Developers are allowed to send messages to a channel.
* | | | | | | | Merge pull request #812 from Numerlor/hush-cogGravatar Eivind Teig2020-03-30-3/+504
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Implement silencer (hush) cog.
| * \ \ \ \ \ \ \ Merge branch 'master' into hush-cogGravatar Eivind Teig2020-03-30-548/+1802
| |\ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | |
| * | | | | | | | Add tests for `HushDurationConverter`.Gravatar Numerlor2020-03-17-0/+30
| | | | | | | | |
| * | | | | | | | Add tests ensuring permissions get preserved.Gravatar Numerlor2020-03-17-0/+31
| | | | | | | | |