File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -167,8 +167,7 @@ class Role(Hashable):
167
167
operators on the role objects themselves.
168
168
169
169
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 an integration.
172
171
mentionable: :class:`bool`
173
172
Indicates if the role can be mentioned by users.
174
173
tags: Optional[:class:`RoleTags`]
@@ -287,11 +286,11 @@ def is_premium_subscriber(self) -> bool:
287
286
return self .tags is not None and self .tags .is_premium_subscriber ()
288
287
289
288
def is_integration (self ) -> bool :
290
- """Whether the role is managed by an integration.
289
+ """Whether the role is managed by an integration. Shorthand for :attr:`Role.managed`.
291
290
292
291
.. versionadded:: 1.6
293
292
"""
294
- return self .tags is not None and self . tags . is_integration ()
293
+ return self .managed
295
294
296
295
def is_assignable (self ) -> bool :
297
296
"""Whether the role is able to be assigned or removed by the bot.
You can’t perform that action at this time.
0 commit comments