$appendFile
$appendFile
will add given text to a specific file.
Usage
$appendFile[path;content;encode?]
Parameters
Field | Type | Description | Required |
---|---|---|---|
path | string | File location. | true |
content | string, number | Content to append to the file | true |
encode? | string | Encode type 1. utf8 (default) | false |
Example(s)
This will add a comment to your main file:
1client.command({2 name: "appendFile",3 code: `4 $appendFile[./index.js;// Hello!]5 `6});