File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
src/content/docs/guides/other Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ import DiscordComponents from "../../../../components/DiscordMessage/DiscordComp
13
13
- [ ExtraOptions/Options Parser Functions] ( #extraoptionsoptions-parser-functions )
14
14
- [ Embed Parser] ( #embed-parser )
15
15
- [ Embed Parser Functions] ( #embed-parser-functions )
16
+ - [ Message Components] ( #message-components )
17
+ - [ Message Components Functions] ( #message-components-functions )
16
18
- [ Components Parser] ( #components-parser )
17
19
- [ Button Parser] ( #button-parser )
18
20
- [ Button Types] ( #button-types )
@@ -73,8 +75,9 @@ You require `{newEmbed:{...}}` every time you want to use embed parsers.
73
75
{timestamp:ms?} // Adds a timestamp to the embed.
74
76
```
75
77
76
- ## Message Components
78
+ ---
77
79
80
+ ## Message Components
78
81
79
82
:::tip
80
83
@@ -85,7 +88,7 @@ You require `{newContainer:{...}}` or `{newSection:{...}}` wrappers to declare c
85
88
### Message Components Functions
86
89
87
90
``` aoi
88
- {color:DiscordResolvableColor } // Sets the color for the container.
91
+ {color:... } // Adds the color for the container.
89
92
{spoiler:true/false} // Marks the container or media as a spoiler.
90
93
{text:content} // Adds a text display component inside a section or container.
91
94
{thumbnail:URL:spoiler?:description?} // Adds a thumbnail with optional spoiler and description.
You can’t perform that action at this time.
0 commit comments