Skip to content

$deleteFile

$deleteFile will delete a given file.

Usage

$deleteFile[path]

Parameters

FieldTypeDescriptionRequired
pathstringFile path.true

Example(s)

This will delete your index.js (don’t actually do that):

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