$renameFile
$renameFile
will rename a file of your bot’s directory.
Usage
$renameFile[oldFile;newFile]
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:
1client.command({2 name: "renameFile",3 code: `4 $renameFile[./index.js;./index.txt]5 `6});