diff --git a/commands/prefix.js b/commands/prefix.js index aae9f00..ec2992f 100644 --- a/commands/prefix.js +++ b/commands/prefix.js @@ -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); } } \ No newline at end of file