Skip to content

$readFile

$readFile will read a file’s content and return it.

Usage

$readFile[path]

Parameters

FieldTypeDescriptionRequired
pathstringFile path.true

Example(s)

This will return your main file (index.js):

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