aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--discord/role.py5
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