From e2cc63e6c94384bd3f0de5fd639efc2390a3cd20 Mon Sep 17 00:00:00 2001 From: admin_rb Date: Tue, 7 Apr 2026 22:01:21 +0200 Subject: [PATCH] renamed db column --- commands/slash/applications/quotes.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/slash/applications/quotes.js b/commands/slash/applications/quotes.js index 43f4d06..1e17dc6 100644 --- a/commands/slash/applications/quotes.js +++ b/commands/slash/applications/quotes.js @@ -57,7 +57,7 @@ async function quotesAdd(interaction) { messageID: messageID, channelID: channelID, guildID: guildID, - by: msgData.author.id, + userID: msgData.author.id, count: 0 } }, { upsert: true }) @@ -164,7 +164,7 @@ async function quotesRandom(interaction) { if (user) { rdm = await quotesColl.aggregate([ { - $match: { by: user.id }, + $match: { userID: user.id }, }, { $sample: { size: 1 } }