diff options
| author | Michael <[email protected]> | 2020-09-23 00:19:35 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-09-23 03:19:35 -0400 |
| commit | 93fa46713a198baf08ab1e760be1adfdcb852c97 (patch) | |
| tree | d73bff9c85cc531d992e77a9e01950f7668731b4 /discord/role.py | |
| parent | Add support for message_reference on Message object (diff) | |
| download | discord.py-93fa46713a198baf08ab1e760be1adfdcb852c97.tar.xz discord.py-93fa46713a198baf08ab1e760be1adfdcb852c97.zip | |
Fix and add documentation
Diffstat (limited to 'discord/role.py')
| -rw-r--r-- | discord/role.py | 2 |
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 |