Functionalities
Other
$attachmentLink
Returns the link of the attachment used in the message. Returns `undefined` if the message did not contain an attachment.

FUNCTION USAGE

  • $attachmentLink
1
bot.Command({
2
name: "test",
3
code: `
4
$message[]
5
Link: $replaceText[$attachmentLink;undefined;No attachment]
6
`
7
})
Copied!
Last modified 10mo ago
Copy link