aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helpers.py (unfollow)
Commit message (Collapse)AuthorLines
2021-08-30Prevent erroneous symbols from always raising stale warningsGravatar Numerlor-7/+29
Some doc symbols are improperly generated and never exist on the doc page the inventory file defines them in, causing the stale warning to get raised every time the page is parsed (at a maximum every week because of the redis expire). This can be prevented by keeping a counter in redis for the items which were stale, every time the item is warned for the counter is incremented and set to expire in 3 weeks. Then a warning is only raised when the counter is below 3, resulting in the unpreventable warning only being raised twice until it is fixed by the maintainers after it expires in 3 weeks after the last increment.
2021-08-30create a helper function to get the redis key of a doc itemGravatar Numerlor-12/+5
2021-08-30Remove the json argument from the raw command. (#1792)Gravatar Qwerty-133-6/+14
2021-08-29Add more clarity to docstringsGravatar Qwerty-133-5/+5
Clarify what Discord usernames are and the usage of the word "ambiguity".
2021-08-29Make the helper function more readableGravatar Qwerty-133-8/+4
2021-08-29Use unambiguous converters for infraction commandsGravatar Qwerty-133-15/+16
2021-08-29Fix mismatches in parameter names and docstringsGravatar Qwerty-133-2/+2
2021-08-29Add the UnambiguousMember converterGravatar Qwerty-133-3/+23
2021-08-29Replace UserMentionOrID with UnambiguousUserGravatar Qwerty-133-12/+26