diff options
| author | 2020-09-05 20:08:59 -0700 | |
|---|---|---|
| committer | 2020-09-06 14:46:14 -0700 | |
| commit | b0a2ebb87986856240b5e20967424d035998ac77 (patch) | |
| tree | 3aa2fb89668742c51631a162157f83e8ca190fb2 /tests | |
| parent | Implement the without_role decorator by negating has_any_role (diff) | |
Use has_any_role's predicate directly
In some places, it's more appropriate than using with_role_check since
it will raise CheckFailures. This applies to `cog_check`s and other
things which effectively act as command checks.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions