aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| | | | * Reviewer no longer subclasses SchedulerGravatar Boris Muratov2021-03-12-5/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It didn't make much sense for the Reviewer to subclasses Scheduler. The Scheduler has methods that don't make sense to use on the Reviewer directly. There is now a Scheduler object as an attribute of the Reviewer. Interacting with it is done by adding __contains__, cancel, and cancel_all methods.
| | | | * The 'seen vote' emoji is now a random ducky.Gravatar Boris Muratov2021-03-11-4/+15
| | | | |
| | | | * Limit new commands to mods+Gravatar Boris Muratov2021-03-11-0/+2
| | | | |
| | | | * Added an auto-reviewer to the talentpool cogGravatar Boris Muratov2021-03-11-26/+404
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds the functionality to automatically review a nominee a set number of days after being nominated. This is implemented by subclassing the Scheduler and formatting a review after 30 days. The review contains details of the nominee, their nominations, the number of messages they have and the channels they're most active in, and statistics about their infractions and previous nominations. Lastly, the bot will add three emojis to the review: eyes to mark as seen, a thumbsup, and thumbsdown for the vote itself. The code accounts for the possibility of the review being too long for a single message but splitting it where necessary.
| | | | * Add __init__.py to recruitmentGravatar Boris Muratov2021-03-10-0/+0
| | | | | | | | | | | | | | | | | | | | Make it a package as well so that the talentpool actually loads.
| | | | * Make talentpool a package and move cog load to __init__.pyGravatar Boris Muratov2021-03-10-5/+8
| | | | |
| | | | * Rename talentpool.py to _cog.pyGravatar Boris Muratov2021-03-10-0/+0
| | | | | | | | | | | | | | | | | | | | This change is done in preparation to having the cog split across multiple files.
| | | | * Moved talentpool to a new recruitment extensionGravatar Boris Muratov2021-03-10-0/+0
| |_|_|/ |/| | |
* | | | Delete repo specific FUNDING.yml file in favour of org one in ↵Gravatar Joe Banks2021-03-09-2/+0
| | | | | | | | | | | | | | | | python-discord/.github
* | | | Fix typo in stars.jsonGravatar Matteo Bertucci2021-03-09-1/+1
| | | | | | | | | | | | Please have a bit of respect to the baguette land. Also this is a good way to test the new deploy approval system.
* | | | DevOps team reviews for bot deploymentsGravatar Joe Banks2021-03-09-0/+1
| | | |
* | | | Resolving KeyError on infractions that don't purge.Gravatar xithrius2021-03-08-1/+1
| | | |
* | | | Merge pull request #1453 from python-discord/ban-vs-pbanGravatar Xithrius2021-03-08-3/+7
|\ \ \ \ | | | | | | | | | | Purge ban now shows that user was purge banned within infraction message.
| * \ \ \ Merge branch 'master' into ban-vs-pbanGravatar Matteo Bertucci2021-03-08-225/+201
| |\ \ \ \ | |/ / / / |/| | | |
* | | | | Merge pull request #1456 from python-discord/revert-1449-json-loggingGravatar Hassan Abouelela2021-03-08-196/+114
|\ \ \ \ \ | | | | | | | | | | | | Revert "Use JSON logging in production"
| * | | | | Revert "Use JSON logging in production"Gravatar Hassan Abouelela2021-03-08-196/+114
|/ / / / /
* | | | | Merge pull request #1445 from python-discord/ks123/talentpool/migrateGravatar Boris Muratov2021-03-08-29/+87
|\ \ \ \ \ | |_|_|/ / |/| | | | Migrate talentpool to new API schema
| * | | | Merge branch 'master' into ks123/talentpool/migrateGravatar Boris Muratov2021-03-08-303/+510
| |\ \ \ \ | |/ / / / |/| | | |
| * | | | Limit maximum characters for reasons to 1000Gravatar ks1292021-03-08-1/+19
| | | | |
| * | | | Shorten reason of nomination string to 1000 charactersGravatar ks1292021-03-08-1/+1
| | | | |
| * | | | Don't mention watching anymore in talent pool add messageGravatar ks1292021-03-08-1/+1
| | | | |
| * | | | Improve nomination string representationGravatar ks1292021-03-07-2/+2
| | | | |
| * | | | Use actor mention instead of username in nomination stringGravatar ks1292021-03-06-1/+3
| | | | |
| * | | | Fix grammar of nomination cogGravatar ks1292021-03-06-8/+8
| | | | | | | | | | | | | | | Co-authored-by: Boris Muratov <[email protected]>
| * | | | Fix trace logging of nomination 404Gravatar ks1292021-03-06-2/+2
| | | | |
| * | | | Add parentheses back to previous nominations countGravatar ks1292021-03-06-1/+1
| | | | | | | | | | | | | | | Co-authored-by: Boris Muratov <[email protected]>
| * | | | Migrate talentpool to new schemaGravatar ks1292021-03-03-27/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add disable_header to watchchannel initialization. We don't have root actor field anymore, so headers give error and there is no point to rewrite this, because this will be removed soon. - Removed duplicates check of nominations of one user. Now as API allows this, multiple actors can nomination one user. - Add special error message if same actor have already nominated user Every actor can only have 1 nomination entry. - Remove previous reason from watch command We don't store reason that way anymore, and we don't want that this message spam whole channel. - Split end reason and reason editing commands. API PATCH request buildup have been changed, so changing both of them in one command don't make sense anymore. - Migrate nomination string generation
| * | | | Add disable_header to watchchannel to disable talentpool headersGravatar ks1292021-03-03-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | We need to disable this, because new format of nominations don't match with it.
| | * | | Fixed unittest for purge infraction.Gravatar xithrius2021-03-08-1/+1
| | | | |
| | * | | Purge ban now says 'purge ban' on user purge ban.Gravatar xithrius2021-03-08-2/+6
| |/ / / |/| | |
* | | | Mark #appeals as a mod channelGravatar Matteo Bertucci2021-03-07-0/+2
| | | |
* | | | Merge pull request #1450 from python-discord/pypi-url-formatter-patchGravatar scragly2021-03-07-0/+9
|\ \ \ \ | |_|/ / |/| | | Only allow some characters within a request URL to PyPi.
| * | | Added filter.Gravatar xithrius2021-03-06-0/+9
|/ / /
* | | Remove trailing whitespaceGravatar Boris Muratov2021-03-06-1/+1
| | |
* | | Filtering hotfixGravatar Boris Muratov2021-03-06-1/+7
| | | | | | | | | Bug caused by an outdated function signature in a previous commit in the #1402 PR
* | | Merge pull request #1402 from python-discord/ks123/watchlist-trigger-reasonGravatar Xithrius2021-03-06-16/+44
|\ \ \ | | | | | | | | Implement showing filterlist entry comment in alerts
| * \ \ Merge branch 'master' into ks123/watchlist-trigger-reasonGravatar Xithrius2021-03-06-501/+932
| |\ \ \ | |/ / / |/| | |
* | | | Merge pull request #1392 from ↵Gravatar Xithrius2021-03-06-3/+4
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | ChrisLovering/Don't-suggest-when-a-tag-is-on-cooldown Don't fuzzy search for tags when tag is on cooldown
| * \ \ \ Merge branch 'master' into Don't-suggest-when-a-tag-is-on-cooldownGravatar Xithrius2021-03-06-515/+1010
| |\ \ \ \ | |/ / / / |/| | | |
* | | | | Merge pull request #1449 from python-discord/json-loggingGravatar Joe Banks2021-03-06-114/+196
|\ \ \ \ \
| * | | | | Version lock JSON loggerGravatar Joe Banks2021-03-06-2/+2
| | | | | |
| * | | | | Use JSON logging when debug mode is disabledGravatar Joe Banks2021-03-06-16/+33
| | | | | |
| * | | | | Add JSON logging dependenciesGravatar Joe Banks2021-03-06-98/+163
|/ / / / /
* | | | | Merge pull request #1434 from Numerlor/sendhelpGravatar Senjan212021-03-04-0/+2
|\ \ \ \ \ | | | | | | | | | | | | Send command help for BadUnionArgument errors
| * | | | | Close coroutine to prevent `RuntimeWarning`sGravatar Numerlor2021-02-25-0/+1
| | | | | |
| * | | | | Send command help for `BadUnionArgument`sGravatar Numerlor2021-02-25-0/+1
| | |_|_|/ | |/| | |
* | | | | Merge pull request #1262 from python-discord/mbaruh/defconGravatar Boris Muratov2021-03-02-170/+247
|\ \ \ \ \ | |_|_|_|/ |/| | | | Defcon overhaul
| * | | | Merge branch 'master' into mbaruh/defconGravatar Boris Muratov2021-03-02-274/+626
| |\ \ \ \ | |/ / / / |/| | | |
* | | | | Merge pull request #1440 from bast0006/masterGravatar Senjan212021-03-01-5/+5
|\ \ \ \ \ | | | | | | | | | | | | Add !u, !tban, !superstar, and !unsuperstar aliases
| * | | | | Add !stban alias for !shadowtempbanGravatar Bast2021-03-01-1/+1
| | | | | |