Skip to content

Commit 1a9c82a

Browse files
authored
add: message components to table of contents
1 parent e7113e0 commit 1a9c82a

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/content/docs/guides/other/parser.mdx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ import DiscordComponents from "../../../../components/DiscordMessage/DiscordComp
1313
- [ExtraOptions/Options Parser Functions](#extraoptionsoptions-parser-functions)
1414
- [Embed Parser](#embed-parser)
1515
- [Embed Parser Functions](#embed-parser-functions)
16+
- [Message Components](#message-components)
17+
- [Message Components Functions](#message-components-functions)
1618
- [Components Parser](#components-parser)
1719
- [Button Parser](#button-parser)
1820
- [Button Types](#button-types)
@@ -73,8 +75,9 @@ You require `{newEmbed:{...}}` every time you want to use embed parsers.
7375
{timestamp:ms?} // Adds a timestamp to the embed.
7476
```
7577

76-
## Message Components
78+
---
7779

80+
## Message Components
7881

7982
:::tip
8083

@@ -85,7 +88,7 @@ You require `{newContainer:{...}}` or `{newSection:{...}}` wrappers to declare c
8588
### Message Components Functions
8689

8790
```aoi
88-
{color:DiscordResolvableColor} // Sets the color for the container.
91+
{color:...} // Adds the color for the container.
8992
{spoiler:true/false} // Marks the container or media as a spoiler.
9093
{text:content} // Adds a text display component inside a section or container.
9194
{thumbnail:URL:spoiler?:description?} // Adds a thumbnail with optional spoiler and description.

0 commit comments

Comments
 (0)