From fb02191b80972a9cf7c3baa765cb3aa84c6f1cfa Mon Sep 17 00:00:00 2001 From: NCPlayz Date: Sat, 16 Mar 2019 21:43:55 +0000 Subject: Organise documentation --- discord/role.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'discord/role.py') diff --git a/discord/role.py b/discord/role.py index 217a86c8..7fd435e9 100644 --- a/discord/role.py +++ b/discord/role.py @@ -211,20 +211,20 @@ class Role(Hashable): Parameters ----------- - name: str + name: :class:`str` The new role name to change to. permissions: :class:`Permissions` The new permissions to change to. colour: :class:`Colour` The new colour to change to. (aliased to color as well) - hoist: bool + hoist: :class:`bool` Indicates if the role should be shown separately in the member list. - mentionable: bool + mentionable: :class:`bool` Indicates if the role should be mentionable by others. - position: int + position: :class:`int` The new role's position. This must be below your top role's position or it will fail. - reason: Optional[str] + reason: Optional[:class:`str`] The reason for editing this role. Shows up on the audit log. Raises @@ -269,7 +269,7 @@ class Role(Hashable): Parameters ----------- - reason: Optional[str] + reason: Optional[:class:`str`] The reason for deleting this role. Shows up on the audit log. Raises -- cgit v1.2.3