v5.0.0
$createFile
This function creates a file within your host

Fields

This function has 2 fields
  1. 1.
    Text (Required)
  2. 2.
    Filename.Extension (Required)
Raw Usage: $createFile[text;filename.extension]

Options

  • Text - The text that goes in the file
  • Filename.extension - the file name + extension to be assigned to the file

Extensions

You can find what a file extension here. A brief explanation: The file extension is the acronym after the dot in the file. For example, in index.js the file extension would be js

Usage

1
bot.command({
2
name: "createFile",
3
code: `
4
$createFile[Hello World;hello.txt]
5
`
6
/*
7
This creates a text file named 'hello'
8
and inside the file you'll find "Hello World"
9
*/
10
})
Copied!
Last modified 1mo ago
Copy link
Edit on GitHub