Skip to content
This repository has been archived by the owner on Jan 18, 2022. It is now read-only.

Latest commit

 

History

History
19 lines (15 loc) · 370 Bytes

attachment.md

File metadata and controls

19 lines (15 loc) · 370 Bytes

$attachment

Adds an attachment to the bot's message.

Usage

$attachment[url;(optional) file name]

Breakdown

url - The URL that the bot makes the attachment from.

file name - Sets the name of the attachment. Optional.

Example

bot.command({
    type: "command",
    name: "cat",
    code: `$attachment[https://cataas.com/cat;cute cat]`
})