This commit is contained in:
2026-04-08 11:37:01 +02:00
parent e2cc63e6c9
commit 0218583d24
8 changed files with 58 additions and 41 deletions
+2 -2
View File
@@ -15,7 +15,7 @@ module.exports = {
const db = mClient.db(process.env.M_DB)
const quotesColl = db.collection('items_quotes')
const quotes = await quotesColl.find({ by: target.id }).toArray()
const quotes = await quotesColl.find({ userID: target.id }).toArray()
var index = Number((await interaction.message.embeds[0].data.title).split(' ')[2].slice(1))
if (!index) { index = 0 }
@@ -64,7 +64,7 @@ module.exports = {
.setURL(messageLink)
.setTitle(`- Quote #${index + 1} -`)
.setDescription(description)
.setFooter({ text: (`${footer} #${found.messageID} <@${found.by}>`) })
.setFooter({ text: (`${footer} #${found.messageID} <@${found.userID}>`) })
const select = new ActionRowBuilder()
.addComponents(
new UserSelectMenuBuilder()