Skip to content

Commit 91ce47c

Browse files
committed
🩹 Fix Role.is_integration()
1 parent 9a83a2a commit 91ce47c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

discord/role.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ def is_integration(self) -> bool:
291291
292292
.. versionadded:: 1.6
293293
"""
294-
return self.tags is not None and self.tags.is_integration()
294+
return self.managed
295295

296296
def is_assignable(self) -> bool:
297297
"""Whether the role is able to be assigned or removed by the bot.

0 commit comments

Comments
 (0)