File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff 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+ Whether the role is managed by an integration.
172171 mentionable: :class:`bool`
173172 Indicates if the role can be mentioned by users.
174173 tags: Optional[:class:`RoleTags`]
@@ -288,10 +287,12 @@ def is_premium_subscriber(self) -> bool:
288287
289288 def is_integration (self ) -> bool :
290289 """Whether the role is managed by an integration.
290+ Alias for :attr:`Role.managed`.
291291
292- .. versionadded:: 1.6
292+ ..
293+ versionadded:: 1.6
293294 """
294- return self .tags is not None and self . tags . is_integration ()
295+ return self .managed
295296
296297 def is_assignable (self ) -> bool :
297298 """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