migrated
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user