diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2021-08-30 19:56:13 -0400 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2021-08-30 19:56:13 -0400 |
| commit | caa341ec28a1247bd06602ba3bc727a7ff8f1fd7 (patch) | |
| tree | aba91bfdc0e9fd4c1683358fe4c4798127fc239c /commands/quote.js | |
| parent | 946eebabce9011d653364880ffbd2e049bd49934 (diff) | |
| download | AleeBot-caa341ec28a1247bd06602ba3bc727a7ff8f1fd7.tar.gz AleeBot-caa341ec28a1247bd06602ba3bc727a7ff8f1fd7.tar.bz2 AleeBot-caa341ec28a1247bd06602ba3bc727a7ff8f1fd7.zip | |
Help + About changes; Corrections in README; Added new play status
Diffstat (limited to 'commands/quote.js')
| -rw-r--r-- | commands/quote.js | 2 |
1 files changed, 1 insertions, 1 deletions
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) |
