From b28ed796d6a4ea14396eccbe17b82a93b6bd18ca Mon Sep 17 00:00:00 2001 From: alex Date: Mon, 25 May 2020 18:31:53 -0500 Subject: [PATCH] hjgcljcgultd --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index f8bcec7..1cd667d 100755 --- a/src/index.js +++ b/src/index.js @@ -149,7 +149,7 @@ client.on("message", async message => { if(selector === "add") { args.shift(); quoteadd = args; - quotes.quotes.push(stringify(quotes)); + quotes.quotes.push(stringify(quoteadd)); fs.writeFile(`${homedir}/quotes.json`, JSON.stringify(quotes), (err) => { if (err) return message.reply("Something went wrong"); client.channels.cache.get('712084662033580064').send(`${message.member} has submitted ${quoteadd} to the quote repository`);