Entity Info
messageAttachmentCount
$messageAttachmentCount — Retrieve the amount of attachments in this message
Retrieve the amount of attachments in this message
Syntax
$messageAttachmentCount[channelID;messageID]
Parameters
- channelID (id, required) — The channel to pull message from
- messageID (id, required) — The message to get its attachment count
Return Value
- Number.
Usage
$messageAttachmentCount[channelID;messageID] → result
Example
$sendMessage[$messageAttachmentCount[30;1000]]
Try it
Paste an example into the playground to preview its message (functions that act on Discord are not run), or build the same thing with blocks.