mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-20 13:29:03 +00:00
Role.is_everyone actually uses the proper check.
This commit is contained in:
1 parent
054cf2e1e0
commit
85ac03a081
1 file changed
+1
-1
+1
-1
@@ -73,4 +73,4 @@ class Role(object):
|
||||
|
||||
def is_everyone(self):
|
||||
"""Checks if the role is the @everyone role."""
|
||||
return self.position == -1
|
||||
return self._is_everyone
|
||||
Reference in new issue
Block a user