Added eslint fot drizzle

This commit is contained in:
2024-10-03 15:45:05 +02:00
parent 6c928e749c
commit 044b3ac901
4 changed files with 25 additions and 3 deletions

View File

@@ -1,5 +1,6 @@
import { embedColor } from "config/options.js"
import { InteractionContextType, PermissionFlagsBits, SlashCommandBuilder } from "discord.js"
import { eq } from "drizzle-orm"
import { ICommand } from "interfaces"
import db from "src/db/db.js"
import { settings } from "src/db/schema.js"
@@ -56,7 +57,7 @@ export default {
} else {
await db.update(settings).set({
value: value
})
}).where(eq(settings.name, setting))
await interaction.editReply({
embeds: [{