From caa341ec28a1247bd06602ba3bc727a7ff8f1fd7 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Mon, 30 Aug 2021 19:56:13 -0400 Subject: Help + About changes; Corrections in README; Added new play status --- commands/quote.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'commands/quote.js') diff --git a/commands/quote.js b/commands/quote.js index 6daeb00..57729ae 100644 --- a/commands/quote.js +++ b/commands/quote.js @@ -35,7 +35,7 @@ module.exports.run = async (client, message, args) => { if (args) { await mongo().then(async (mongoose) => { try { - const quote = await quoteSchema.findOne({quoteID: "1", author: quoAuthor, authorImage: quoAuthorImage, quote: quoQuote, year: quoYear}) + const quote = await quoteSchema.findOne({quoteID: args[1], author: quoAuthor, authorImage: quoAuthorImage, quote: quoQuote, year: quoYear}) /* const embed = new MessageEmbed() .setAuthor(quoAuthor, quoAuthorImage) -- cgit v1.2.3