aboutsummaryrefslogtreecommitdiff
path: root/docs/extensions/builder.py
diff options
context:
space:
mode:
authorMichael H <[email protected]>2021-05-27 22:31:49 -0400
committerGitHub <[email protected]>2021-05-27 22:31:49 -0400
commit1bf782fcb5168504ccf487641a3eb79f99bf341f (patch)
tree354fd58f15c177099dcd40bed7639f601be9b6e0 /docs/extensions/builder.py
parentAdd warning for comparing with role positioning (diff)
downloaddiscord.py-1bf782fcb5168504ccf487641a3eb79f99bf341f.tar.xz
discord.py-1bf782fcb5168504ccf487641a3eb79f99bf341f.zip
Add Member.get_role
Adds an efficient way to check if a member has a role by ID. This is done in a way consistent with the existing user API of the library. The more debated Member.has_role_id/has_role is intentionally not included for review at this time given the heavy bikeshedding of it.
Diffstat (limited to 'docs/extensions/builder.py')
0 files changed, 0 insertions, 0 deletions