aboutsummaryrefslogtreecommitdiff
path: root/discord/role.py
diff options
context:
space:
mode:
authorMichael <[email protected]>2020-09-23 00:19:35 -0700
committerGitHub <[email protected]>2020-09-23 03:19:35 -0400
commit93fa46713a198baf08ab1e760be1adfdcb852c97 (patch)
treed73bff9c85cc531d992e77a9e01950f7668731b4 /discord/role.py
parentAdd support for message_reference on Message object (diff)
downloaddiscord.py-93fa46713a198baf08ab1e760be1adfdcb852c97.tar.xz
discord.py-93fa46713a198baf08ab1e760be1adfdcb852c97.zip
Fix and add documentation
Diffstat (limited to 'discord/role.py')
-rw-r--r--discord/role.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/role.py b/discord/role.py
index 24ae3bdd..882f346e 100644
--- a/discord/role.py
+++ b/discord/role.py
@@ -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