mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-05 17:36:15 +00:00
Fix and add documentation
This commit is contained in:
@ -148,7 +148,7 @@ class Role(Hashable):
|
||||
self.mentionable = data.get('mentionable', False)
|
||||
|
||||
def is_default(self):
|
||||
"""Checks if the role is the default role."""
|
||||
""":class:`bool`: Checks if the role is the default role."""
|
||||
return self.guild.id == self.id
|
||||
|
||||
@property
|
||||
|
Reference in New Issue
Block a user