@@ -133,9 +133,11 @@ the second field is a text input with a default value, and the third field is a
133133least 100 characters. The custom ID is set to ` modals-my_first_modal ` , which helps us identifying the modal when we use
134134a modal submission trigger for a custom command.
135135
136+ ![ My first modal example] ( modal_example.png )
137+
136138## Multiple Components
137139
138- You learnt how to create messages with just one component attached to it, but the whole point of components is to have
140+ You learned how to create messages with just one component attached to it, but the whole point of components is to have
139141* a lot* of them available. Let's start with adding some more buttons!
140142
141143### More Buttons
@@ -199,7 +201,7 @@ created menu to the `"menu"` key of the complex message builder, and sending sai
199201
200202### Ordering Components
201203
202- Let's say we want to play Tic Tac Toe. If we just add nine buttons into the same slice in our complex message builder,
204+ Let's say we want to play Tic- Tac- Toe. If we just add nine buttons into the same slice in our complex message builder,
203205they will just fill the first row with five buttons, and the second row with four buttons, which is definitely not what
204206we are looking for. The solution is to tell YAGPDB precisely how the rows look like and then pass each row to the
205207` "button" ` or ` "menu" ` key.
@@ -215,7 +217,7 @@ we are looking for. The solution is to tell YAGPDB precisely how the rows look l
215217{{ sendMessage nil $message }}
216218```
217219
218- ![ Tic Tac Toe] ( tictactoe.png )
220+ ![ Tic- Tac- Toe] ( tictactoe.png )
219221
220222#### Action Rows
221223
@@ -250,10 +252,10 @@ formula like reactions do. Emojis in components follow the [partial emoji
250252object] ( https://discord.com/developers/docs/resources/emoji#emoji-object ) structure, however only the ID * or* the Name
251253fields are required, depending on if you are using a custom emoji or not.
252254
253- | Field | Description |
254- | ----- | ---------------------------------------------------------------------------------------------------- |
255- | ID | ID of the emoji, only necessary when using Custom Emoji. |
256- | Name | Name of the emoji, use the unicode character here. Only necessary when using builtin unicode emojis. |
255+ | Field | Description |
256+ | ----- | ----------------------------------------------------------------------------------------------------- |
257+ | ID | ID of the emoji, only necessary when using Custom Emoji. |
258+ | Name | Name of the emoji, use the unicode character here. Only necessary when using built-in unicode emojis. |
257259
258260``` yag
259261{{ $unicodeEmojiButton := cbutton "emoji" (sdict "name" "😀") }}
0 commit comments