diff options
| author | Rapptz <[email protected]> | 2017-07-07 17:53:38 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2017-07-07 17:53:38 -0400 |
| commit | c2544b910142c65d27bbb9c4973e8eafb42bb641 (patch) | |
| tree | f571371aa9758a14affb66a31ad37f59f1fbaab6 /examples/basic_voice.py | |
| parent | Hide constructor for objects that shouldn't be created by users. (diff) | |
| download | discord.py-c2544b910142c65d27bbb9c4973e8eafb42bb641.tar.xz discord.py-c2544b910142c65d27bbb9c4973e8eafb42bb641.zip | |
Handle everyone role having top priority in permission resolution.
In Discord, if the @everyone role has an explicit allow but a later
role has an explicit deny, the permission is denied rather than allowed
despite the fact that on Discord, allows have a higher priority than
denies.
This is because the @everyone role is supposed to be the first role to
be applied, while the rest could be applied in an aggregate fashion.
Fixes #630.
Diffstat (limited to 'examples/basic_voice.py')
0 files changed, 0 insertions, 0 deletions