Skip to content
Files fileList

$fileList[]

$fileList returns the paths of the files written by this bot, in alphabetical order.

Syntax

bdfd
$fileList[(prefix);(separator);(limit)]

Parameters

Parameter Description
prefix Optional. Only the paths that start with it, for example exports/.
separator Optional. What goes between two paths. Defaults to , .
limit Optional. Number of paths, 100 by default, 1000 at most.

Examples

Exports: $fileList[exports/;\n;20]

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.