aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| | | * | 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
| | | | |
| | | | * feat: add link to discord dev portal intents sectionGravatar vcokltfre2021-03-26-1/+1
| | | | |
| | | | * fix: remove . from the hyperlinkGravatar vcokltfre2021-03-26-1/+1
| | | | | | | | | | | | | | | Co-authored-by: Joe Banks <[email protected]>
| | | | * fix: more minor spelling/grammar correctionsGravatar vcokltfre2021-03-14-2/+2
| | | | |
| | | | * fix: minor spelling correctionGravatar vcokltfre2021-03-14-1/+1
| | | | |
| | | | * fix: add newline file endingsGravatar vcokltfre2021-03-14-2/+2
| | | | |
| | | | * feat: add new discord.py tagsGravatar vcokltfre2021-03-14-0/+22
| |_|_|/ |/| | |
* | | | Merge pull request #1465 from python-discord/gitattributesGravatar Dennis Pham2021-03-14-2/+1
|\ \ \ \ | | | | | | | | | | Use .gitattributes to normalise line endings on check-in
| * | | | Use .gitattributes to normalise line endings on check-inGravatar MarkKoz2021-03-13-2/+1
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove the mixed line endings pre-commit hook because it is obsolete. Relying on git to handle line endings means contributors have more flexibility with which line endings they want to use on check-out. The settings in .gitattributes only impose which line endings will be used upon check-in (LF), which should not impact local development; git will still respect the core.eol and core.autocrlf settings.
* | | | master => mainGravatar Joe Banks2021-03-13-22/+22
| | | |
* | | | Update help channel names from chemical elements to fruitGravatar Joe Banks2021-03-13-126/+59
| | | | | | | | | | | | | | | | | | | | * Update and rename elements.json to fruits.json * Update _name.py * Update _cog.py
* | | | Merge pull request #1461 from python-discord/simplify-pypiGravatar ks1292021-03-13-21/+12
|\ \ \ \ | | | | | | | | | | Simplifying the PyPi command.
| * | | | Added '_' to allowed chars, shortened embed.Gravatar xithrius2021-03-12-21/+12
|/ / / /
* | | | Merge pull request #1455 from python-discord/many-snowflakesGravatar Matteo Bertucci2021-03-12-11/+16
|\ \ \ \ | | | | | | | | | | Allow the sf command to take more than one snowflake at the time
| * \ \ \ Merge branch 'master' into many-snowflakesGravatar Xithrius2021-03-12-262/+248
| |\ \ \ \ | |/ / / / |/| | | |
* | | | | Fix typo in the token removerGravatar Matteo Bertucci2021-03-12-1/+1
| | | | |
* | | | | Merge pull request #1452 from python-discord/pypi-delete-on-not-foundGravatar Matteo Bertucci2021-03-12-27/+35
|\ \ \ \ \ | | | | | | | | | | | | Remove invoked command and message after failure.
| * \ \ \ \ Merge branch 'master' into pypi-delete-on-not-foundGravatar Matteo Bertucci2021-03-12-3/+2
| |\ \ \ \ \ | |/ / / / / |/| | | | |
* | | | | | Merge PR #1460 - compose: read all env vars from '.env'Gravatar Mark2021-03-11-3/+2
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | |
| * | | | | Compose: read all environment variables from '.env'Gravatar kwzrd2021-03-12-4/+2
| | | | | |
| * | | | | Compose: read GitHub API key from '.env'Gravatar kwzrd2021-03-11-0/+1
| | |_|_|/ | |/| | |
| | * | | Remove invoked command and message after failure.Gravatar xithrius2021-03-11-27/+35
| |/ / / |/| | |
* | | | 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
| |/ / / / |/| | | |
| | | * | Restrict non-staffer to one snowflake at the timeGravatar Matteo Bertucci2021-03-08-1/+5
| | | | |
| | | * | Make the snowflake command accept many snowflakesGravatar Matteo Bertucci2021-03-08-12/+13
| |_|/ / |/| | |