From 693d72bff8fda312940c6e5796b560f3dd7388af Mon Sep 17 00:00:00 2001 From: Paillat Date: Sun, 13 Oct 2024 15:31:31 +0200 Subject: [PATCH] :memo: Better doc. of role tags --- discord/role.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/discord/role.py b/discord/role.py index 1907606e9d..b403416704 100644 --- a/discord/role.py +++ b/discord/role.py @@ -167,8 +167,7 @@ class Role(Hashable): operators on the role objects themselves. managed: :class:`bool` - Indicates if the role is managed by the guild through some form of - integrations such as Twitch. + 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``. mentionable: :class:`bool` Indicates if the role can be mentioned by users. tags: Optional[:class:`RoleTags`] @@ -287,7 +286,8 @@ def is_premium_subscriber(self) -> bool: return self.tags is not None and self.tags.is_premium_subscriber() def is_integration(self) -> bool: - """Whether the role is managed by an integration. + """Whether the role is managed by the guild through some form of + integrations such as Twitch. .. versionadded:: 1.6 """