Loïc Bersier 6 years ago
parent 67078274f4
commit e034857949

@ -5,6 +5,6 @@ exports.run = (client, message, args) => {
// change the configuration in memory
config.prefix = newPrefix;
// Now we have to save the file.
fs.writeFile("./config.json", JSON.stringify(config), (err) => console.error);
fs.writeFile(".././config.json", JSON.stringify(config), (err) => console.error);
}
}
Loading…
Cancel
Save