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
@@ -16,7 +16,7 @@ module.exports = {
const target = await interaction.guild.members.fetch(interaction.members.keys().next().value)
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()
const member = interaction.message.guild.members.cache.get(target.user.id)
const memberRoles = member.roles.cache
.filter((roles) => roles.id !== interaction.message.guild.id)