Attaches a txt file to the bot's response.
Last updated 3 years ago
Was this helpful?
$createFile[text;name]
This function has two params.
text
The text that the file should contain.
String
Yes
name
The file's name.
string
bot.commands.add({ type: "basicCommand", name: "example", code: `$createfile[Hello World!;text]` })