Skip to content

Commit d08ff41

Browse files
committed
rebase committed changes and suggestions from joe
1 parent c9ee39d commit d08ff41

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/docs/reference/templates/functions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1215,7 +1215,7 @@ Creates a complex message object for use in [sendMessage](#sendmessage) function
12151215
- `menus`: a single [select menu object](#cmenu).
12161216
- `buttons`: a slice of [button objects](#cbutton).
12171217
- `sticker`: single sticker ID or a slice of sticker IDs
1218-
- `forward`: must contain an sdict with a channel and message value
1218+
- `forward`: an sdict containing `channel` and `message` keys specifying the message to forward
12191219

12201220
All of these keys are optional, but providing an empty content, file, or no embeds will result in no message being sent.
12211221

@@ -1265,7 +1265,7 @@ Example of a message forward:
12651265
{{ sendMessage nil (complexMessage
12661266
"forward" (sdict
12671267
"channel" .Channel.ID
1268-
"message" <messageID>
1268+
"message" .Message.ID
12691269
)
12701270
) }}
12711271
```

0 commit comments

Comments
 (0)