From b4bf7b3f835c6ace8195042176d3c371f16c1417 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Bersier?= Date: Thu, 6 Sep 2018 19:21:52 +0200 Subject: [PATCH] --- commands/prefix.js | 2 -- reply.json | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/commands/prefix.js b/commands/prefix.js index 215c3dc..6d4659b 100644 --- a/commands/prefix.js +++ b/commands/prefix.js @@ -3,8 +3,6 @@ exports.run = (client, message, args) => { if (message.author.id == "267065637183029248") { // Gets the prefix from the command (eg. "!prefix +" it will take the "+" from it) let newPrefix = message.content.split(" ").slice(1, 2)[0]; - // 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); } diff --git a/reply.json b/reply.json index afbb193..1932943 100644 --- a/reply.json +++ b/reply.json @@ -1,4 +1,4 @@ { - "lol": "haha yes its funi", + "lol": "haha yes funi", "haha yes": "haha yes" } \ No newline at end of file