edit
.edit() is used to edit the contents of a file in the file manager
// Dependencies
const CubedCraft = require('cubed-api');
// Editing the file
CubedCraft.files.edit('SessionID', '/plugins/Skript/scripts/decentskript.sk', 'on load:\n broadcast "loaded"');Last updated