$fileExists
$fileExists
will check if a given file exists.
Usage
$fileExists[path]
Parameters
Field | Type | Description | Required |
---|---|---|---|
path | string | File path. | true |
Example(s)
This will check if a file called index.js
exists in your directory:
1client.command({2 name: "fileExists",3 code: `4 $fileExists[./index.js]5 `6});