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