File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -191,6 +191,7 @@ def all_channel(cls: type[P]) -> P:
191
191
- :attr:`manage_emojis`
192
192
- :attr:`view_audit_log`
193
193
- :attr:`view_guild_insights`
194
+ - :attr:`view_creator_monetization_analytics`
194
195
- :attr:`manage_guild`
195
196
- :attr:`change_nickname`
196
197
- :attr:`manage_nicknames`
@@ -218,8 +219,10 @@ def general(cls: type[P]) -> P:
218
219
permissions :attr:`administrator`, :attr:`create_instant_invite`, :attr:`kick_members`,
219
220
:attr:`ban_members`, :attr:`change_nickname` and :attr:`manage_nicknames` are
220
221
no longer part of the general permissions.
222
+ .. versionchanged:: 2.7
223
+ Added :attr:`view_creator_monetization_analytics` permission.
221
224
"""
222
- return cls (0b01110000000010000000010010110000 )
225
+ return cls (0b100000000001110000000010000000010010110000 )
223
226
224
227
@classmethod
225
228
def membership (cls : type [P ]) -> P :
@@ -610,6 +613,14 @@ def moderate_members(self) -> int:
610
613
"""
611
614
return 1 << 40
612
615
616
+ @flag_value
617
+ def view_creator_monetization_analytics (self ) -> int :
618
+ """:class:`bool`: Returns ``True`` if a user can view creator monetization (role subscription) analytics.
619
+
620
+ .. versionadded:: 2.7
621
+ """
622
+ return 1 << 41
623
+
613
624
@flag_value
614
625
def use_soundboard (self ) -> int :
615
626
""":class:`bool`: Returns ``True`` if a user can use the soundboard in a voice channel.
You can’t perform that action at this time.
0 commit comments