Adds an attachment to the bot's message.
$attachment[url;(optional) file name]
url
- The URL that the bot makes the attachment from.
file name
- Sets the name of the attachment. Optional.
bot.command({
type: "command",
name: "cat",
code: `$attachment[https://cataas.com/cat;cute cat]`
})