diff --git a/CHANGELOG.md b/CHANGELOG.md index a2a7ac6176..b2b9f2bd36 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/discord/enums.py b/discord/enums.py index 29256012c2..ac2b76301e 100644 --- a/discord/enums.py +++ b/discord/enums.py @@ -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): diff --git a/docs/api/enums.rst b/docs/api/enums.rst index feaa2b1901..c551a94c3a 100644 --- a/docs/api/enums.rst +++ b/docs/api/enums.rst @@ -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