diff --git a/changelog/1068.feature.0.rst b/changelog/1068.feature.0.rst index 0ad769d8d7..7bcf5e83c1 100644 --- a/changelog/1068.feature.0.rst +++ b/changelog/1068.feature.0.rst @@ -3,7 +3,7 @@ Implement soundboard features. - Managing sounds: - Get soundboard sounds using :attr:`Guild.soundboard_sounds`, :attr:`Client.get_soundboard_sound`, or fetch them using :meth:`Guild.fetch_soundboard_sound`, :meth:`Guild.fetch_soundboard_sounds`, or :meth:`Client.fetch_default_soundboard_sounds` - New sounds can be created with :meth:`Guild.create_soundboard_sound` - - Handle guild soundboard sound updates using the :attr:`~Event.soundboard_sounds_update` event + - Handle guild soundboard sound updates using the :attr:`~Event.guild_soundboard_sounds_update` event - Send sounds using :meth:`VoiceChannel.send_soundboard_sound` - New attributes: :attr:`Guild.soundboard_limit`, :attr:`VoiceChannelEffect.sound`, :attr:`Client.soundboard_sounds` - New audit log actions: :attr:`AuditLogAction.soundboard_sound_create`, :attr:`~AuditLogAction.soundboard_sound_update`, :attr:`~AuditLogAction.soundboard_sound_delete` diff --git a/disnake/guild.py b/disnake/guild.py index fbf0d77273..26ad281114 100644 --- a/disnake/guild.py +++ b/disnake/guild.py @@ -564,7 +564,6 @@ def _from_data(self, guild: GuildPayload) -> None: self.stickers: Tuple[GuildSticker, ...] = tuple( state.store_sticker(self, d) for d in guild.get("stickers", []) ) - # TODO: rest methods self.soundboard_sounds: Tuple[GuildSoundboardSound, ...] = tuple( state.store_soundboard_sound(self, d) for d in guild.get("soundboard_sounds", []) ) diff --git a/docs/api/soundboard.rst b/docs/api/soundboard.rst index 8403f557ff..675a676e5b 100644 --- a/docs/api/soundboard.rst +++ b/docs/api/soundboard.rst @@ -42,4 +42,4 @@ GuildSoundboardSound Events ------ -- :func:`on_soundboard_sounds_update(guild, before, after) ` +- :func:`on_guild_soundboard_sounds_update(guild, before, after) `