Skip to content

$appendFile

$appendFile will add given text to a specific file.

Usage

$appendFile[path;content;encode?]

Parameters

FieldTypeDescriptionRequired
pathstringFile location.true
contentstring, numberContent to append to the filetrue
encode?stringEncode type
1. utf8 (default)
false

Example(s)

This will add a comment to your main file:

1
client.command({
2
name: "appendFile",
3
code: `
4
$appendFile[./index.js;// Hello!]
5
`
6
});