aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* reset cache on bot start, stats for different close reasonsGravatar laundmo2021-03-19-28/+39
|
* More descriptive comment for when an if block is enteredGravatar Chris2021-03-18-1/+1
|
* Determine closing time from last message if either cache is empty, rather ↵Gravatar Chris2021-03-18-2/+2
| | | | than if both are empty
* If the channel is empty, determine closing time based on last message.Gravatar Chris2021-03-18-4/+5
|
* Move return behaviour comments to in-line rather than docstring.Gravatar Chris2021-03-18-8/+4
|
* Delete cached claimant message time.Gravatar Chris2021-03-18-0/+1
|
* Update function name to describe new behaviour.Gravatar Chris2021-03-18-3/+3
| | | | Also updates the doc string to reflect this new behaviour.
* Repurpose unanswered cache for storing non-claimant last message timesGravatar Chris2021-03-18-59/+48
| | | | | | | The unanswered cache was previously just a boolen of whether a non-claimant every replied to a help channel. With us now needing to know the time at which a non-claimant messaged in a given channel, we infer the answered status from this cache instead.
* Improve docs strings and variable names within the help channel systemGravatar Chris2021-03-17-20/+20
|
* Improve availible channel embed footerGravatar Chris2021-03-17-1/+1
|
* Improve trace message.Gravatar Chris2021-03-16-1/+1
|
* Extend close time logic to differentiate between the claimant and other users.Gravatar Chris2021-03-16-29/+75
|
* Update help availible footerGravatar Chris2021-03-16-1/+1
| | | | | As we have complicated this logic, we now don't specify exactly how long until the channel will close.
* Set a reasonable default for `idle_minutes_others`.Gravatar Chris2021-03-16-1/+1
|
* Split out help channel idle time constantsGravatar Chris2021-03-16-3/+8
| | | | | This allows us to configure the idle time allowed for claiments seperate from tohers.
* Merge pull request #1468 from ↵Gravatar Matteo Bertucci2021-03-16-3/+4
|\ | | | | | | | | python-discord/bug/info/bot-xk/defcon-threshold-none Account for defcon threshold being None when displaying server info
| * Info: account for defcon threshold being NoneGravatar MarkKoz2021-03-15-1/+2
| | | | | | | | Fixes BOT-XK
| * Defcon: fix naming conflict between threshold cmd and attributeGravatar MarkKoz2021-03-15-2/+2
|/
* 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
| | | | |