Add support for role subscription reading

This commit is contained in:
Rapptz
2023-01-10 18:05:00 -05:00
parent e802a87916
commit 3d24f0fb12
8 changed files with 115 additions and 2 deletions

View File

@ -1618,6 +1618,11 @@ of :class:`enum.Enum`.
sent if the rule is configured to sent an alert when triggered.
.. versionadded:: 2.0
.. attribute:: role_subscription_purchase
The system message sent when a user purchases or renews a role subscription.
.. versionadded:: 2.2
.. class:: UserFlags
@ -4626,6 +4631,14 @@ MessageApplication
.. autoclass:: MessageApplication
:members:
RoleSubscriptionInfo
~~~~~~~~~~~~~~~~~~~~~
.. attributetable:: RoleSubscriptionInfo
.. autoclass:: RoleSubscriptionInfo
:members:
Intents
~~~~~~~~~~