diff options
| author | 2020-05-30 12:43:11 -0700 | |
|---|---|---|
| committer | 2020-05-30 12:43:11 -0700 | |
| commit | 4549fa3defb7b9aba22505b438493bf03e74378d (patch) | |
| tree | 2498ff78d4a719c61f370a6f05edff19ec1016e5 /tests/test_base.py | |
| parent | Merge branch 'master' into staff_count_server (diff) | |
Simplify counting of staff channels and improve efficiency
Simplification comes from being able to access permissions as attributes
on the overwrite object. This removes the need to iterate all
permissions.
Efficiency comes from checking all roles within a single iteration of
all channels. This also removes the need to flatten and filter the
channels afterwards, which required additional iterations.
Diffstat (limited to 'tests/test_base.py')
0 files changed, 0 insertions, 0 deletions