aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helpers.py (unfollow)
Commit message (Collapse)AuthorLines
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 JSON logging when debug mode is disabledGravatar Joe Banks-16/+33
2021-03-06Add JSON logging dependenciesGravatar Joe Banks-98/+163
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