Skip to main content

$attachmentWidth

Returns an attachment's width (if something's attached)

Usage

$attachmentWidth

This function doesn't have any additional fields.

Example

client.command({
name: "attWidth",
code: `
Your attachment's width is: $attachmentWidth.
`
});
note

You'll need to attach something to your message, this function only supports images by the moment.

Example image