diff options
| author | Steve C <[email protected]> | 2018-05-10 03:34:13 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2018-05-18 20:25:54 -0400 |
| commit | 0e945915b766991c5008077575def82a72e0d7ff (patch) | |
| tree | 36d856afa258a8941720b7d7f33618462592d06d /discord/role.py | |
| parent | abc.GuildChannel.set_permissions can raise NotFound. (diff) | |
| download | discord.py-0e945915b766991c5008077575def82a72e0d7ff.tar.xz discord.py-0e945915b766991c5008077575def82a72e0d7ff.zip | |
Fixes various documentation errors/inconsistencies
Mostly dealing with permissions, also fixes Raw Events inclusion.
Diffstat (limited to 'discord/role.py')
| -rw-r--r-- | discord/role.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/discord/role.py b/discord/role.py index 6cb79c69..3e35d8af 100644 --- a/discord/role.py +++ b/discord/role.py @@ -204,7 +204,7 @@ class Role(Hashable): Edits the role. - You must have the :attr:`Permissions.manage_roles` permission to + You must have the :attr:`~Permissions.manage_roles` permission to use this. All fields are optional. @@ -265,7 +265,7 @@ class Role(Hashable): Deletes the role. - You must have the :attr:`Permissions.manage_roles` permission to + You must have the :attr:`~Permissions.manage_roles` permission to use this. Parameters |