Fix and add documentation

This commit is contained in:
Michael authored and GitHub committed 2020-09-23 03:19:35 -04:00
1 parent 37c5c583f2
commit 93fa46713a
15 files changed
+97 -29

No files matched your search

+1 -1
View File
@@ -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