Skip to content
Merged
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ These changes are available on the `master` branch, but have not yet been releas
([#1809](https://github.com/Pycord-Development/pycord/pull/1809))
- Added missing `image` parameter to `Guild.create_scheduled_event()` method.
([#1831](https://github.com/Pycord-Development/pycord/pull/1831))
- Added new message types, `interaction_premium_upsell`, `stage_start`, `stage_end`,
`stage_speaker`, `stage_raise_hand`, `stage_topic`, and
`guild_application_premium_subscription`.
([#1852](https://github.com/Pycord-Development/pycord/pull/1852))

## [2.3.2] - 2022-12-03

Expand Down
8 changes: 8 additions & 0 deletions discord/enums.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,14 @@ class MessageType(Enum):
guild_invite_reminder = 22
context_menu_command = 23
auto_moderation_action = 24
role_subscription_purchase = 25
interaction_premium_upsell = 26
stage_start = 27
stage_end = 28
stage_speaker = 29
stage_raise_hand = 30
stage_topic = 31
guild_application_premium_subscription = 32


class VoiceRegion(Enum):
Expand Down
52 changes: 52 additions & 0 deletions docs/api/enums.rst
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,58 @@ of :class:`enum.Enum`.
The system message denoting that an context menu command was executed.

.. versionadded:: 2.0
.. attribute:: auto_moderation_action

The system message denoting an action by automod.

.. versionadded:: 2.3
.. attribute:: role_subscription_purchase

The system message denoting a role-subscription purchase.

.. versionadded:: 2.4

.. attribute:: interaction_premium_upsell

The system message denoting an interaction premium upsell.

.. versionadded:: 2.4

.. attribute:: stage_start

The system message denoting that a stage event has started.

.. versionadded:: 2.4

.. attribute:: stage_end

The system message denoting that a stage event has ended.

.. versionadded:: 2.4

.. attribute:: stage_speaker

The system message denoting that a stage event has a new speaker.

.. versionadded:: 2.4

.. attribute:: stage_raise_hand

The system message denoting that a stage event has someone has raised their hand.

.. versionadded:: 2.4

.. attribute:: stage_topic

The system message denoting that a stage event has a new topic.

.. versionadded:: 2.4

.. attribute:: guild_application_premium_subscription

The system message denoting that a member has subscribed to a guild application.

.. versionadded:: 2.4

.. class:: UserFlags

Expand Down