aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helpers.py (unfollow)
Commit message (Collapse)AuthorLines
2021-03-09Delete repo specific FUNDING.yml file in favour of org one in ↵Gravatar Joe Banks-2/+0
python-discord/.github
2021-03-09Fix typo in stars.jsonGravatar Matteo Bertucci-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.
2021-03-09DevOps team reviews for bot deploymentsGravatar Joe Banks-0/+1
2021-03-08Resolving KeyError on infractions that don't purge.Gravatar xithrius-1/+1
2021-03-08Revert "Use JSON logging in production"Gravatar Hassan Abouelela-196/+114
2021-03-08Limit maximum characters for reasons to 1000Gravatar ks129-1/+19
2021-03-08Shorten reason of nomination string to 1000 charactersGravatar ks129-1/+1
2021-03-08Don't mention watching anymore in talent pool add messageGravatar ks129-1/+1
2021-03-08Fixed unittest for purge infraction.Gravatar xithrius-1/+1
2021-03-08Purge ban now says 'purge ban' on user purge ban.Gravatar xithrius-2/+6
2021-03-07Improve nomination string representationGravatar ks129-2/+2
2021-03-07Mark #appeals as a mod channelGravatar Matteo Bertucci-0/+2
2021-03-06Added filter.Gravatar xithrius-0/+9
2021-03-06Remove trailing whitespaceGravatar Boris Muratov-1/+1
2021-03-06Filtering hotfixGravatar Boris Muratov-1/+7
Bug caused by an outdated function signature in a previous commit in the #1402 PR
2021-03-06Version lock JSON loggerGravatar Joe Banks-2/+2
2021-03-06Use actor mention instead of username in nomination stringGravatar ks129-1/+3
2021-03-06Fix grammar of nomination cogGravatar ks129-8/+8
Co-authored-by: Boris Muratov <[email protected]>
2021-03-06Fix trace logging of nomination 404Gravatar ks129-2/+2
2021-03-06Add parentheses back to previous nominations countGravatar ks129-1/+1
Co-authored-by: Boris Muratov <[email protected]>
2021-03-06Use JSON logging when debug mode is disabledGravatar Joe Banks-16/+33
2021-03-06Add JSON logging dependenciesGravatar Joe Banks-98/+163
2021-03-03Migrate talentpool to new schemaGravatar ks129-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
2021-03-03Add disable_header to watchchannel to disable talentpool headersGravatar ks129-1/+7
We need to disable this, because new format of nominations don't match with it.
2021-03-02Improved docstring for threshold command.Gravatar mbaruh-1/+8
2021-03-01Provide default cache values when syncingGravatar Boris Muratov-2/+2
2021-03-01Change to handle specifically redis errorsGravatar Boris Muratov-11/+15
The idea to ignore alerts on fake redis didn't solve the problem completely, because sometimes you'll just develop with a real redis. It also didn't solve the ping we would get on first start up. After looking into it there seems like there's no actual reason to alert on key errors, as they should only happen if the cache gets wiped for some reason, which shouldn't happen, but in which case we have bigger issues. Alerts are therefore limited to connection errors raised by redis. This additionally handles only redis errors when writing to it as well. If any other error is raised it is ok for the function to stop at that point, as all variables have already been set. The only thing which doesn't get executed is the confirmation message and logging, the lack of which is an exception message in itself.
2021-03-01Add !stban alias for !shadowtempbanGravatar Bast-1/+1
2021-03-01Add !superstar and !unsuperstar aliases for !superstarifyGravatar Bast-2/+2
2021-03-01Add alias !tban for !tempbanGravatar Bast-1/+1
2021-03-01Add alias !u for !userGravatar Bast-1/+1