aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Fix grammar of voice unban embed descriptionGravatar ks1292020-10-18-1/+1
| | | Co-authored-by: Joe Banks <[email protected]>
* Fix grammar of voice verification config commentsGravatar ks1292020-10-18-2/+2
| | | Co-authored-by: Joe Banks <[email protected]>
* Use bullet points instead of - for voice verify failing reasonsGravatar ks1292020-10-18-1/+1
| | | Co-authored-by: Joe Banks <[email protected]>
* Remove too much aliases for voice verify commandGravatar ks1292020-10-18-1/+1
| | | Co-authored-by: Joe Banks <[email protected]>
* Remove test for case when user don't have VV for voice banGravatar ks1292020-10-18-8/+0
|
* Fix too long lines for Voice GateGravatar ks1292020-10-18-2/+9
|
* Use .title() instead of .capitalize()Gravatar ks1292020-10-18-1/+1
|
* Update formatting of voice gate failing embedGravatar ks1292020-10-18-7/+4
|
* Fix grammar of fail messages of Voice GateGravatar ks1292020-10-18-2/+2
|
* Remove _ from infraction type when sending back resultGravatar ks1292020-10-18-6/+6
|
* Remove checking does user have voice verified role for voice banGravatar ks1292020-10-18-4/+0
| | | Co-authored-by: Joe Banks <[email protected]>
* Fix grammar and wording of Voice Gate + Voice BanGravatar ks1292020-10-18-7/+7
| | | Co-authored-by: Joe Banks <[email protected]>
* Change message that say to user that he get response to DMGravatar ks1292020-10-18-1/+1
|
* Rework how voice gate do checksGravatar ks1292020-10-18-24/+18
|
* Fix voice ban command name in testGravatar ks1292020-10-18-1/+1
|
* Use embeds instead of normal messages and send to DM insteadGravatar ks1292020-10-18-10/+27
|
* Update tests to not automatically adding back verified after vban expireGravatar ks1292020-10-18-3/+0
|
* Fix user not found info field testGravatar ks1292020-10-18-1/+1
|
* Don't add Voice Verified role automatically backGravatar ks1292020-10-18-4/+0
|
* Give user free pass when user don't have verified time in metricityGravatar ks1292020-10-18-1/+4
|
* Fix grammar of voice verifing messageGravatar ks1292020-10-18-1/+1
| | | Co-authored-by: Joe Banks <[email protected]>
* Fix name and aliases of voice ban commandGravatar ks1292020-10-18-2/+2
| | | Co-authored-by: Joe Banks <[email protected]>
* Fix grammar of voice ban pardoning messageGravatar ks1292020-10-18-2/+2
| | | Co-authored-by: Joe Banks <[email protected]>
* Remove unnecessary logging about user not foundGravatar ks1292020-10-18-2/+1
| | | Co-authored-by: Joe Banks <[email protected]>
* Merge branch 'master' into voice-gateGravatar ks1292020-10-18-370/+799
|\
| * Allow !eval in #code-help-voice-2Gravatar Matteo Bertucci2020-10-17-1/+3
| |
| * Merge pull request #1240 from python-discord/mbaruh-inf-idGravatar scragly2020-10-17-2/+2
| |\
| | * Merge branch 'master' into mbaruh-inf-idGravatar scragly2020-10-17-365/+779
| | |\ | | |/ | |/|
| * | PR #1157 Reddit: filter NSFW postsGravatar kwzrd2020-10-17-3/+5
| |\ \
| | * \ Merge branch 'master' into filter_redditGravatar Rohan Reddy Alleti2020-10-14-1499/+1270
| | |\ \
| | * | | re-add comment.Gravatar RohanJnr2020-10-01-1/+1
| | | | |
| | * | | handling empty list error in get_top_posts() method and filter posts using ↵Gravatar RohanJnr2020-10-01-23/+9
| | | | | | | | | | | | | | | | | | | | list comprehension.
| | * | | Filter out reddit posts which are meant for users 18 years of older and send ↵Gravatar RohanJnr2020-09-28-1/+6
| | | | | | | | | | | | | | | | | | | | the rest.
| | * | | Merge remote-tracking branch 'upstream/master' into filter_redditGravatar RohanJnr2020-09-22-2042/+1427
| | |\ \ \
| | * | | | Restrict nsfw subreddit(s) or similar (subreddits that require you to be ↵Gravatar rohanjnr2020-09-15-7/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | over 18). Changed the return format a little bit for the fetch_posts() function, instead of returning an empty list, it returns a list with a dict holding the error message.
| * | | | | Merge pull request #1242 from ↵Gravatar Sebastiaan Zeeff2020-10-17-4/+12
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | python-discord/sebastiaan/features/whitelister-sprinters Whitelist Core Dev Sprinters from our filters
| | * | | | | Use filter role whitelist for all filter featuresGravatar Sebastiaan Zeeff2020-10-17-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We were using different whitelists for different filters, making it slightly more difficult to maintain the role whitelists. They now all use the same list, which combines our staff roles with the Python community role and the sprinters role. Signed-off-by: Sebastiaan Zeeff <[email protected]>
| | * | | | | Add sprinters role to filter whitelistGravatar Sebastiaan Zeeff2020-10-17-0/+9
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I've added the sprinters role to the filter whitelist. This will not affect antispam and antimalware just yet, as they currently default to using the STAFF_ROLES constant. I've also kaizened the config-default.yml file by ensuring there are two linebreaks between all sections. Signed-off-by: Sebastiaan Zeeff <[email protected]>
| * | | | | PR #1233 Verification: add note to kicked membersGravatar kwzrd2020-10-17-0/+24
| |\ \ \ \ \
| | * | | | | Verification: avoid logging whole kick note payloadGravatar kwzrd2020-10-17-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Only the `member` is variable, no need to log the rest. Co-authored-by: Numerlor <[email protected]>
| | * | | | | Verification: simplify kick note reasonGravatar kwzrd2020-10-15-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will make it much easier to filter out verification kicks when querying the infraction database.
| | * | | | | Verification: add notes to kicked usersGravatar kwzrd2020-10-13-0/+1
| | | | | | |
| | * | | | | Verification: implement kick note post helperGravatar kwzrd2020-10-13-0/+23
| | | | | | |
| * | | | | | Snekbox: raise paste character lengthGravatar MarkKoz2020-10-15-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It doesn't make sense for it to be at 1000 when the code gets truncated to 1000 as well. Fixes #1239
| * | | | | | Code block: fix _fix_indentation failing for line counts of 1Gravatar MarkKoz2020-10-14-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This could be reproduced by editing a tracked message to a single line of invalid Python that lacks any back ticks. The code was assuming there would be multiple lines because that's what the default value for the threshold is, but this threshold is not applied to edited messages. Fixes BOT-A5
| * | | | | | Merge pull request #886 from ↵Gravatar Mark2020-10-14-357/+733
| |\ \ \ \ \ \ | | |_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | python-discord/bug/utility/829/non-py-code-detection Code block detection rewrite
| | * | | | | Utils: clarify why has_lines counts by splitting by newlinesGravatar MarkKoz2020-10-14-0/+1
| | | | | | |
| | * | | | | Merge master and fix conflictsGravatar MarkKoz2020-10-05-3820/+3457
| | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Use absolute imports in the code block modules for consistency * Move has_lines utility function into the helpers module * Prefix names of code block modules with underscores so they won't get picked up as extensions by the extension manager
| | * | | | | | Code block: support the "pycon" language specifierGravatar MarkKoz2020-10-05-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's used for code copied from the Python REPL.
| | * | | | | | Fix conflict for webhook token check in code block detectionGravatar MarkKoz2020-09-09-604/+203
| | |\ \ \ \ \ \