add File
Deprecated
Replaced by extension on 'MessageBuilder'. Change import to 'dev.kord.rest.builder.message.addFile'.
Replace with
import dev.kord.rest.builder.message.addFile
Content copied to clipboard
this.addFile(path)Content copied to clipboard
Adds a file with the given path to the attachments.