Add support for messages with type purchase_notification

This commit is contained in:
Soheab
2024-10-11 01:43:07 +02:00
committed by GitHub
parent 04b8f385b1
commit b3141db6e9
4 changed files with 113 additions and 0 deletions

View File

@ -1881,6 +1881,12 @@ of :class:`enum.Enum`.
.. versionadded:: 2.4
.. attribute:: purchase_notification
The system message sent when a purchase is made in the guild.
.. versionadded:: 2.5
.. class:: UserFlags
Represents Discord User flags.
@ -5418,6 +5424,22 @@ RoleSubscriptionInfo
.. autoclass:: RoleSubscriptionInfo
:members:
PurchaseNotification
~~~~~~~~~~~~~~~~~~~~~
.. attributetable:: PurchaseNotification
.. autoclass:: PurchaseNotification()
:members:
GuildProductPurchase
+++++++++++++++++++++
.. attributetable:: GuildProductPurchase
.. autoclass:: GuildProductPurchase()
:members:
Intents
~~~~~~~~~~