Updated ephemreal deprecation

This commit is contained in:
2025-01-28 21:14:50 +01:00
parent a70bd4c934
commit f58c71f667
21 changed files with 67 additions and 54 deletions

View File

@@ -1,3 +1,4 @@
import { MessageFlags } from "discord.js"
import { getWaitingLists, removeWaitingList } from "src/drizzle/functions.js"
import { hypixelGuildID } from "~/config/options.js"
import { IButton } from "~/typings"
@@ -8,7 +9,7 @@ export default {
description: "Update the waiting list.",
async execute({ interaction }) {
await interaction.deferReply({ ephemeral: true })
await interaction.deferReply({ flags: MessageFlags.Ephemeral })
const user = interaction.user
const message = interaction.message