diff options
| author | Rapptz <[email protected]> | 2015-10-16 23:20:53 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2015-10-16 23:20:53 -0400 |
| commit | ba978cc9884b013c350f79cf335d399dd2f51e06 (patch) | |
| tree | 4ecc10f2cd689fe57087197b97239b881ffe289a | |
| parent | Only remove if the user is actually in the voice channel. (diff) | |
| download | discord.py-ba978cc9884b013c350f79cf335d399dd2f51e06.tar.xz discord.py-ba978cc9884b013c350f79cf335d399dd2f51e06.zip | |
Add Role.managed property.
| -rw-r--r-- | discord/role.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/discord/role.py b/discord/role.py index 79a87d34..ce0b510a 100644 --- a/discord/role.py +++ b/discord/role.py @@ -198,6 +198,10 @@ class Role(object): .. attribute:: position The position of the role. + .. attribute:: managed + + A boolean indicating if the role is managed by the server through some form of integration + such as Twitch. """ def __init__(self, **kwargs): @@ -210,4 +214,5 @@ class Role(object): self.position = kwargs.get('position', -1) self.colour = Colour(kwargs.get('color', 0)) self.hoist = kwargs.get('hoist', False) + self.managed = kwargs.get('managed', False) self.color = self.colour |