Updated ephemreal deprecation
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { Events } from "discord.js"
|
||||
import { Events, MessageFlags } from "discord.js"
|
||||
import fs from "fs"
|
||||
import path from "path"
|
||||
import { embedColor } from "~/config/options.js"
|
||||
@@ -25,7 +25,7 @@ export default async function loadModalEvents(client: Client, ft: FileType) {
|
||||
if (!modal) {
|
||||
interaction.reply({
|
||||
content: "Modal logic not implemented. This is most likely an old modal",
|
||||
ephemeral: true
|
||||
flags: MessageFlags.Ephemeral
|
||||
})
|
||||
console.error(`No modal matching ${interaction.customId} was found.`)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user