DiSky DiSky v5.0.0-b1

File Upload

type

A file to send to Discord, created from a local file, a URL or a received attachment. Attach it to a message builder with 'add {_file} to attachments of {_message}'.

3 / 3

Properties

3
propertyTextsince 5.0.0-a1
[the] file name of %fileupload%
%fileupload%'s file name

The name the file will carry on Discord, extension included. Can be changed.

change modes set
Helpful?
propertyBooleanwrite-only since 5.0.0-a1
[the] spoiler of %fileupload%
%fileupload%'s spoiler

Whether Discord hides the file behind a spoiler. It works by prefixing the file name with 'SPOILER_', so rename the file before, not after.

change modes set
mentioned inFile uploads
Helpful?
propertyTextwrite-only since 5.0.0-a1
[the] file description of %fileupload%
%fileupload%'s file description

The alt text of the file, shown by screen readers and on hover for images.

change modes set
mentioned inFile uploads
Helpful?

Returned by

1

Syntaxes elsewhere in DiSky that return File Upload.

Documentation

1

Hand-written guides that cover File Upload.

An unhandled error has occurred. Reload 🗙

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.