Skip to content

Commit 64313a8

Browse files
committed
📝 Better doc. of role tags
1 parent 9a83a2a commit 64313a8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

discord/role.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,7 @@ class Role(Hashable):
167167
operators on the role objects themselves.
168168
169169
managed: :class:`bool`
170-
Indicates if the role is managed by the guild through some form of
171-
integrations such as Twitch.
170+
Indicates if the role is managed by the guild. This is true if :meth:`Role.is_integration`, :meth:`Role.is_premium_subscriber`, or :meth:`Role.is_bot_managed` is ``True``.
172171
mentionable: :class:`bool`
173172
Indicates if the role can be mentioned by users.
174173
tags: Optional[:class:`RoleTags`]
@@ -287,7 +286,8 @@ def is_premium_subscriber(self) -> bool:
287286
return self.tags is not None and self.tags.is_premium_subscriber()
288287

289288
def is_integration(self) -> bool:
290-
"""Whether the role is managed by an integration.
289+
"""Whether the role is managed by the guild through some form of
290+
integrations such as Twitch.
291291
292292
.. versionadded:: 1.6
293293
"""

0 commit comments

Comments
 (0)