aboutsummaryrefslogtreecommitdiffstats
path: root/tests/base.py
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2021-10-14 16:28:59 +0100
committerGravatar Chris Lovering <[email protected]>2021-10-17 09:55:44 +0100
commit1a1d7c79b06ed52616b5f681270cd2238b32e792 (patch)
tree407d3a24cd97c2a08d0d6189aa015826f5770012 /tests/base.py
parentModlog: remove tzinfo from member_join (#1877) (diff)
Ignore channels mod team can't view in modlog
The main purpose of this is so that we don't need to keep adding to the modlog_blacklist for every new channel we want to ignore, since it now implicitly ignores channels mods don't have read perms to. This is done by making use of Discord.py 2.0's updated behaviour of Channel.permissions_for() where it can now accept a role and determines the permissions of users in that role for a given channel. This takes into account default permissions as well as channel overrides. Co-authored-by: Xithrius <[email protected]>
Diffstat (limited to 'tests/base.py')
0 files changed, 0 insertions, 0 deletions