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 toolkit2mo 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 User2mo ago
Message Not Public
Sign In & Join Server To View
Makoto!
Makoto!OP2mo 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 User2mo ago
Message Not Public
Sign In & Join Server To View
Makoto!
Makoto!OP2mo ago
yes
TÆMBØ
TÆMBØ2mo ago
This might be relevant for you then https://github.com/discordjs/discord.js/pull/10564
NyR
NyR2mo 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 User2mo ago
Message Not Public
Sign In & Join Server To View
Makoto!
Makoto!OP2mo ago
omg thanksss With flags it worked
Makoto!
Makoto!OP2mo ago
No description
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
NyR
NyR2mo 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
monbrey2mo ago
I'd recommend the MessageFlags.Ephemeral enum over a magic number
NyR
NyR2mo 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!OP2mo ago
Well, I'll use the release version. Thanks for the tip :yuudachi_bg:
Want results from more Discord servers?
Add your server