renamed db column

This commit is contained in:
2026-04-07 22:01:21 +02:00
parent ad32efb156
commit e2cc63e6c9
+2 -2
View File
@@ -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 }
}