$renameFile
$renameFile
will rename a file of your bot’s directory.
Usage
Parameters
Field | Type | Description | Required |
---|---|---|---|
oldFile | string | Old file name. | true |
newFile | string | New file name. | true |
Example(s)
This will change your index.js to a index.txt file: