Search
Get Started
d-I❄
discord.js - Imagine ❄
•
14mo ago
Makoto!
ephemeral is not working on button interaction.
I don
't know the reason
, can someone help me
?
discord.js - Imagine ❄
Join
Support server for discord.js, a Node.js module to interact with Discord's apps API.
58,353
Members
View on Discord
Was this page helpful?
Yes
No
D
d.js toolkit
•
10/30/24, 12:04 AM
What
's your exact discord
.js
npm list discord.js
npm list discord.js
and node
node -v
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
!
J
jö 🌈
check for the custom id of the button first, then reply and see if that works
M
Makoto!
OP
•
10/30/24, 12:06 AM
The custom id is not being used anywhere in the code because this is literally the only part where I use interactionCreate
J
jö 🌈
wait you’re using the dev version?
M
Makoto!
OP
•
10/30/24, 12:06 AM
yes
M
Makoto!
OP
•
10/30/24, 12:07 AM
yes
M
Makoto!
yes
T
TÆMBØ
•
10/30/24, 12:07 AM
This might be relevant for you then
https://github.com/discordjs/discord.js/pull/10564
M
Makoto!
I don't know the reason, can someone help me?
N
NyR
•
10/30/24, 12:07 AM
I see you have tagged it as dev release
,
was removed
, see
https://github.com/discordjs/discord.js/pull/10564
Use
option
N
NyR
•
10/30/24, 12:07 AM
(Slow
.
.
.
)
N
NyR
I see you have tagged it as dev release, `ephemeral` was removed, see https://gi...
M
Makoto!
OP
•
10/30/24, 12:12 AM
omg thanksss
M
Makoto!
OP
•
10/30/24, 12:12 AM
With flags it worked
M
Makoto!
OP
•
10/30/24, 12:13 AM
N
NyR
•
10/30/24, 12:15 AM
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
M
monbrey
•
10/30/24, 12:15 AM
I
'd recommend the
enum over a magic number
N
NyR
•
10/30/24, 12:16 AM
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
N
NyR
Honestly, I'd not recommend using dev version if you are not using ts, because u...
M
Makoto!
OP
•
10/30/24, 12:18 AM
Well
, I
'll use the release version
. Thanks for the tip
M
Makoto!
OP
•
10/30/24, 12:19 AM
:yuudachi
_bg
:
ephemeral
ephemeral
flags
flags
MessageFlags.Ephemeral
MessageFlags.Ephemeral