aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helpers.py (unfollow)
Commit message (Collapse)AuthorLines
2023-02-28Don't allow adding filter lists with no implementationGravatar mbaruh-0/+9
Filter lists with no implemenation are not loaded, therefore if one is added with no implementation there is then no way to interact with it. Instead of accounting for that case it makes more sense to require an implemenation first.
2023-02-28Re-add webhook and discord token check in other cogsGravatar mbaruh-2/+10
Co-authored-by: wookie184 <[email protected]>
2023-02-28Correct type hintGravatar mbaruh-1/+1
Co-authored-by: wookie184 <[email protected]>
2023-02-28Deprecated `warn` -> `warning`Gravatar mbaruh-2/+2
Co-authored-by: wookie184 <[email protected]>
2023-02-28Fix Infraction checkGravatar mbaruh-1/+1
Co-authored-by: decorator-factory <[email protected]>
2023-02-28Use literals as defaults where possibleGravatar mbaruh-5/+5
Co-authored-by: wookie184 <[email protected]>
2023-02-28Properly parameterize type hints in filter contextGravatar mbaruh-3/+3
Co-authored-by: decorator-factory <[email protected]>
2023-02-28`__or__` -> `union` + `Self` type-hint in action settingsGravatar mbaruh-24/+18
Keeps the type hint accurate in the subclasses, and avoids having type guards for each implementation. Co-authored-by: decorator-factory <[email protected]> Co-authored-by: Ionite <[email protected]>
2023-02-27Explicitly handle embed being too longGravatar mbaruh-4/+6
Co-authored-by: Ionite <[email protected]>
2023-02-27Use public typing API for `starting_value`Gravatar mbaruh-7/+8
Co-authored-by: Ionite <[email protected]>
2023-02-27Simplify `Settings.copy`Gravatar mbaruh-3/+2
Co-authored-by: Ionite <[email protected]>