This function creates a file within your host
This function has 2 fields
- Text (Required)
- Filename.Extension (Required)
Raw Usage: $createFile[text;filename.extension]
- Text - The text that goes in the file
- Filename.extension - the file name + extension to be assigned to the file
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
bot.command({
name: "createFile",
code: `
$createFile[Hello World;hello.txt]
`
/*
This creates a text file named 'hello'
and inside the file you'll find "Hello World"
*/
})