Adds a attachment to the bot's response.
Last updated 2 years ago
$attachment[URL;name.extension]
This function has two params.
The 'URL' must end with a extension, else it is sent as a unpreviewable file.
bot.commands.add({ type: "basicCommand", name: "attachment", code: `$attachment[https://imgur.com/eZfedQF.png;image.png]` })
URL
The URL of this attachment.
String
Yes
name.extension
The name and extension of this attachment.
No