From ea2811eb912bbc6143c027b51d56511c5ada0fc7 Mon Sep 17 00:00:00 2001 From: Paillat Date: Mon, 28 Oct 2024 08:43:00 +0100 Subject: [PATCH] :memo: Add objects to docs --- discord/channel.py | 2 +- docs/api/models.rst | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/discord/channel.py b/discord/channel.py index 6cb5fce14d..b53e5aeaf7 100644 --- a/discord/channel.py +++ b/discord/channel.py @@ -3285,7 +3285,7 @@ class VoiceChannelEffectSendEvent: channel: :class:`VoiceChannel` The voice channel that the sound is being sent in. data: :class:`dict` - The raw data sent by the gateway([#6025](https://github.com/discord/discord-api-docs/pull/6025)). + The raw data sent by the gateway. """ __slots__ = ( diff --git a/docs/api/models.rst b/docs/api/models.rst index 0238e2fc77..4aa277b230 100644 --- a/docs/api/models.rst +++ b/docs/api/models.rst @@ -494,6 +494,20 @@ Stickers .. autoclass:: GuildSticker() :members: +Soundboard +---------- + +.. attributetable:: PartialSoundboardSound + +.. autoclass:: PartialSoundboardSound() + :members: + +.. attributetable:: SoundboardSound + +.. autoclass:: SoundboardSound() + :members: + :inherited-members: + Events ------ @@ -577,6 +591,11 @@ Events .. autoclass:: RawVoiceChannelStatusUpdateEvent() :members: +.. attributetable:: VoiceChannelEffectSendEvent + +.. autoclass:: VoiceChannelEffectSendEvent() + :members: + Webhooks