diff --git a/apps/guide/content/docs/legacy/popular-topics/display-components.mdx b/apps/guide/content/docs/legacy/popular-topics/display-components.mdx index ebf64dba5..dc9b363ca 100644 --- a/apps/guide/content/docs/legacy/popular-topics/display-components.mdx +++ b/apps/guide/content/docs/legacy/popular-topics/display-components.mdx @@ -20,7 +20,7 @@ To use the display components, you need to pass the `IsComponentsV2` message fla ## The component `id` -All components can be passed an optional, unique, `id` field holding a 32-bit integer identifier to later identify them in interaction responses. Do not confuse this with the `custom_id` field for interactive components! You can find more information about this [in the discord api documentation](https://discord.com/developers/docs/components/reference#anatomy-of-a-component). Discord will automatically populate the `id` of components that don't have the `id` specified in the payload sequentially starting from `1`. The `id` value `0` is treated as empty. The order components are automatically filled in is an implementation detail and not officially document. If you want to work with the `id` (for example to find and replace the content of a specific component lateron), you should explicitly specify it. +All components can be passed an optional, unique, `id` field holding a 32-bit integer identifier to later identify them in interaction responses. Do not confuse this with the `custom_id` field for interactive components! You can find more information about this [in the discord api documentation](https://discord.com/developers/docs/components/reference#anatomy-of-a-component). Discord will automatically populate the `id` of components that don't have the `id` specified in the payload sequentially starting from `1`. The `id` value `0` is treated as empty. The order components are automatically filled in is an implementation detail and not officially document. If you want to work with the `id` (for example to find and replace the content of a specific component later on), you should explicitly specify it. In the following sections, we will explain all available display component types in detail and show you some examples on how you can use them. diff --git a/apps/guide/content/docs/legacy/popular-topics/threads.mdx b/apps/guide/content/docs/legacy/popular-topics/threads.mdx index 94407e14d..ae16b03b4 100644 --- a/apps/guide/content/docs/legacy/popular-topics/threads.mdx +++ b/apps/guide/content/docs/legacy/popular-topics/threads.mdx @@ -93,7 +93,7 @@ const thread = await channel.threads.create({ console.log(`Created thread: ${thread.name}`); ``` -They can also be created from an existing message with the `Message#startThread` method, but will be "orphaned" if that message is deleted. The thread is not deleted along with the message and will still be available through the hcannels thread list! +They can also be created from an existing message with the `Message#startThread` method, but will be "orphaned" if that message is deleted. The thread is not deleted along with the message and will still be available through the channels thread list! ```js // [!code word:startThread] diff --git a/apps/guide/content/docs/voice/audio-resources.mdx b/apps/guide/content/docs/voice/audio-resources.mdx index 68c48aeab..8f3a00647 100644 --- a/apps/guide/content/docs/voice/audio-resources.mdx +++ b/apps/guide/content/docs/voice/audio-resources.mdx @@ -81,7 +81,7 @@ const resource = createAudioResource('/home/user/voice/music.mp3', { }, }); -// Not recommended - listen to errors from the audio player instead for most usecases! +// Not recommended - listen to errors from the audio player instead for most use cases! resource.playStream.on('error', (error) => { console.error('Error:', error.message, 'with track', resource.metadata.title); });