Skip to content
Files fileDelete

$fileDelete[]

$fileDelete deletes a file written by this bot and gives its space back to the account quota. It returns true when the file existed and false otherwise (deleting a missing file is not an error).

Syntax

bdfd
$fileDelete[path]

Parameters

Parameter Description
path Required. Logical path of the file.

Examples

$fileDelete[notes/$authorID.txt]

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.