Skip to content

Commit 4fab3f8

Browse files
committed
fix(role): ensure secondary and tertiary attributes are not missing
1 parent 653fb49 commit 4fab3f8

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

discord/role.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,9 @@ def is_holographic(self) -> bool:
374374
"""
375375
return (
376376
self.primary.value == 11127295
377+
and self.secondary is not None
377378
and self.secondary.value == 16759788
379+
and self.tertiary is not None
378380
and self.tertiary.value == 16761760
379381
)
380382

0 commit comments

Comments
 (0)