ephemeral is not working on button interaction.

I don't know the reason, can someone help me?
No description
No description
15 Replies
d.js toolkit
d.js toolkit4w ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button!
Unknown User
Unknown User4w ago
Message Not Public
Sign In & Join Server To View
Makoto!
Makoto!OP4w ago
The custom id is not being used anywhere in the code because this is literally the only part where I use interactionCreate yes
Unknown User
Unknown User4w ago
Message Not Public
Sign In & Join Server To View
Makoto!
Makoto!OP4w ago
yes
TÆMBØ
TÆMBØ4w ago
This might be relevant for you then https://github.com/discordjs/discord.js/pull/10564
NyR
NyR4w ago
I see you have tagged it as dev release, ephemeral was removed, see https://github.com/discordjs/discord.js/pull/10564 Use flags option (Slow...)
Unknown User
Unknown User4w ago
Message Not Public
Sign In & Join Server To View
Makoto!
Makoto!OP4w ago
omg thanksss With flags it worked
Makoto!
Makoto!OP4w ago
No description
Unknown User
Unknown User4w ago
Message Not Public
Sign In & Join Server To View
NyR
NyR4w ago
I mean without typscript, the ide will maybe do as much as crossing out deprecated stuff, but the option straight up doesn't exist, hence nothing
monbrey
monbrey4w ago
I'd recommend the MessageFlags.Ephemeral enum over a magic number
NyR
NyR4w ago
Honestly, I'd not recommend using dev version if you are not using ts, because unless you're keeping track of things that are changed, there can be breaking changes, and without ts there to yell at you, you are bound to stumble into errors
Makoto!
Makoto!OP4w ago
Well, I'll use the release version. Thanks for the tip :yuudachi_bg:
Want results from more Discord servers?
Add your server