You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
:param Union[int, Snowflake, Role] role_id: The id of the role to edit
856
861
:param Optional[str] name: The name of the role, defaults to the current value of the role
857
862
:param Optional[int] color: RGB color value as integer, defaults to the current value of the role
858
-
:param Optional[int] permissions: Bitwise value of the enabled/disabled permissions, defaults to the current value of the role
863
+
:param Optional[Union[Permissions, int]] permissions: Bitwise value of the enabled/disabled permissions, defaults to the current value of the role
859
864
:param Optional[bool] hoist: Whether the role should be displayed separately in the sidebar, defaults to the current value of the role
860
865
:param Optional[Image] icon: The role's icon image (if the guild has the ROLE_ICONS feature), defaults to the current value of the role
861
866
:param Optional[str] unicode_emoji: The role's unicode emoji as a standard emoji (if the guild has the ROLE_ICONS feature), defaults to the current value of the role
:param int guild_id: The id of the guild to edit the role on
134
141
:param Optional[str] name: The name of the role, defaults to the current value of the role
135
142
:param Optional[int] color: RGB color value as integer, defaults to the current value of the role
136
-
:param Optional[int] permissions: Bitwise value of the enabled/disabled permissions, defaults to the current value of the role
143
+
:param Optional[Union[Permissions, int]] permissions: Bitwise value of the enabled/disabled permissions, defaults to the current value of the role
137
144
:param Optional[bool] hoist: Whether the role should be displayed separately in the sidebar, defaults to the current value of the role
138
145
:param Optional[Image] icon: The role's icon image (if the guild has the ROLE_ICONS feature), defaults to the current value of the role
139
146
:param Optional[str] unicode_emoji: The role's unicode emoji as a standard emoji (if the guild has the ROLE_ICONS feature), defaults to the current value of the role
0 commit comments