Browse Source

Role.is_everyone actually uses the proper check.

pull/36/head
Rapptz 10 years ago
parent
commit
85ac03a081
  1. 2
      discord/role.py

2
discord/role.py

@ -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

Loading…
Cancel
Save