DiscordFileAttachment
Extends
LitElement
Implements
Constructors
new DiscordFileAttachment()
new DiscordFileAttachment():
DiscordFileAttachment
Returns
Inherited from
LitElement.constructor
Accessors
bytes
The size of the file in bytes
Remarks
The unit is not automatically calculated,
you should provide it manually through bytesUnit
Example
bytesUnit
The unit of the file in a human-readable format
Example
href
The URL to the file, this is passed to <discord-link>
Example
lightTheme
Implementation of
name
The name of the file
Example
rel
The <a>
tag rel
,
this is passed to <discord-link>
target
The <a>
tag target
,
this is passed to <discord-link>
type
The <a>
tag type
,
this is passed to <discord-link>