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