Skip to content

Commit 2a158b7

Browse files
committed
✨ Add creator monetization analytics perms (1 << 41)
1 parent 91f6595 commit 2a158b7

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

discord/permissions.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -610,6 +610,14 @@ def moderate_members(self) -> int:
610610
"""
611611
return 1 << 40
612612

613+
@flag_value
614+
def view_creator_monetization_analytics(self) -> int:
615+
""":class:`bool`: Returns ``True`` if a user can view creator monetization (role subscription) analytics.
616+
617+
.. versionadded:: 2.7
618+
"""
619+
return 1 << 41
620+
613621
@flag_value
614622
def use_soundboard(self) -> int:
615623
""":class:`bool`: Returns ``True`` if a user can use the soundboard in a voice channel.

0 commit comments

Comments
 (0)