aboutsummaryrefslogtreecommitdiff
path: root/discord/role.py
diff options
context:
space:
mode:
Diffstat (limited to 'discord/role.py')
-rw-r--r--discord/role.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/discord/role.py b/discord/role.py
index 2fecfdf9..9e50cca4 100644
--- a/discord/role.py
+++ b/discord/role.py
@@ -197,8 +197,7 @@ class Role(object):
A boolean representing if the role will be displayed separately from other members.
.. attribute:: position
- The position of the role. This number is usually positive. A non-positive value indicates that
- this is the `@everyone` role.
+ The position of the role. This number is usually positive.
.. attribute:: managed
A boolean indicating if the role is managed by the server through some form of integration
@@ -217,6 +216,7 @@ class Role(object):
self.hoist = kwargs.get('hoist', False)
self.managed = kwargs.get('managed', False)
self.color = self.colour
+ self._is_everyone = kwargs.get('everyone', False)
def is_everyone(self):
"""Checks if the role is the @everyone role."""