Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ These changes are available on the `master` branch, but have not yet been releas
([#2587](https://github.com/Pycord-Development/pycord/pull/2587/))
- Added optional `filter` parameter to `utils.basic_autocomplete()`.
([#2590](https://github.com/Pycord-Development/pycord/pull/2590))
- Added
[VIEW_CREATOR_MONETIZATION_ANALYTICS](https://discord.com/developers/docs/topics/permissions#:~:text=VIEW_CREATOR_MONETIZATION_ANALYTICS)
permission: `Permissions.view_creator_monetization_analytics`
([#2622](https://github.com/Pycord-Development/pycord/pull/2622))

### Fixed

Expand Down
8 changes: 8 additions & 0 deletions discord/permissions.py
Original file line number Diff line number Diff line change
Expand Up @@ -610,6 +610,14 @@ def moderate_members(self) -> int:
"""
return 1 << 40

@flag_value
def view_creator_monetization_analytics(self) -> int:
""":class:`bool`: Returns ``True`` if a user can view creator monetization (role subscription) analytics.

.. versionadded:: 2.7
"""
return 1 << 41

@flag_value
def send_voice_messages(self) -> int:
""":class:`bool`: Returns ``True`` if a member can send voice messages.
Expand Down
Loading