Files
fileExists
$fileExists[]
$fileExists returns true when this bot has a file at that path, false otherwise.
Syntax
bdfd
$fileExists[path]
Parameters
| Parameter | Description |
|---|---|
path |
Required. Logical path of the file. |
Examples
$onlyIf[$fileExists[notes/$authorID.txt]==true;You have no note yet.]
Try it
Paste an example into the playground to preview its message (functions that act on Discord are not run), or build the same thing with blocks.