mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-07 02:08:25 +00:00
Add support for role subscription reading
This commit is contained in:
13
docs/api.rst
13
docs/api.rst
@ -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
|
||||
~~~~~~~~~~
|
||||
|
||||
|
Reference in New Issue
Block a user