Cha0tic
Cha0tic
DIAdiscord.js - Imagine an app
Created by Cha0tic on 2/4/2025 in #djs-questions
Why cant i use MessageFlags.Ephemeral in v14.7.3?
Hello Everyone!! I am trying to use MessageFlags.Ephemeral as a flag in interaction.reply like this:
interaction.reply({ content: "Response!", flags: MessageFlags.Ephemeral });
interaction.reply({ content: "Response!", flags: MessageFlags.Ephemeral });
but everytime i then execute the slash command the bot crashes and node tells me that MessageFlags is not defined. Do i have to import something to use MessageFlags?
4 replies