aboutsummaryrefslogtreecommitdiff
path: root/commands/quote.js
diff options
context:
space:
mode:
Diffstat (limited to 'commands/quote.js')
-rw-r--r--commands/quote.js2
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)