Updated querying

This commit is contained in:
2024-10-03 15:21:22 +02:00
parent 4ac6bc9f7b
commit 6c928e749c
16 changed files with 18 additions and 37 deletions

View File

@@ -29,7 +29,7 @@ export default {
async execute({ interaction }) {
const member = interaction.options.getMember("user") as GuildMember
const verifiedUser = await db.query.verifies.findFirst({
where: eq(verifies.userID, member.user.id)
where: ({ userID }, { eq }) => eq(userID, member.user.id)
})
const mod = interaction.user