From 2f71506169bf690b6af993650f4693902693206c Mon Sep 17 00:00:00 2001 From: owocado <24418520+owocado@users.noreply.github.com> Date: Thu, 21 Mar 2024 14:10:51 +0530 Subject: [PATCH] Add view_creator_monetization_analytics permission --- discord/permissions.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/discord/permissions.py b/discord/permissions.py index 5ba5ea4af..f18f94a7a 100644 --- a/discord/permissions.py +++ b/discord/permissions.py @@ -682,6 +682,14 @@ class Permissions(BaseFlags): """ return 1 << 40 + @flag_value + def view_creator_monetization_analytics(self) -> int: + """:class:`bool`: Returns ``True`` if a user can view role subscription insights. + + .. versionadded:: 2.4 + """ + return 1 << 41 + @flag_value def use_soundboard(self) -> int: """:class:`bool`: Returns ``True`` if a user can use the soundboard.