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