aboutsummaryrefslogtreecommitdiff
path: root/examples/basic_voice.py
diff options
context:
space:
mode:
authorRapptz <[email protected]>2017-07-07 17:53:38 -0400
committerRapptz <[email protected]>2017-07-07 17:53:38 -0400
commitc2544b910142c65d27bbb9c4973e8eafb42bb641 (patch)
treef571371aa9758a14affb66a31ad37f59f1fbaab6 /examples/basic_voice.py
parent Hide constructor for objects that shouldn't be created by users. (diff)
downloaddiscord.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