You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, it does not account for when flags are utilised (flags: MessageFlags.Ephemeral).
In the below code sample, uncomment ephemeral: true and see the logged interaction's ephemeral property. Then, uncomment flags: MessageFlags.Ephemeral and compare the property. ephemeral: true will be logged in the first instance and ephemeral: false will be logged in the second instance.
Which package is this bug report for?
discord.js
Issue description
When specifying
ephemeral: true
, discord.js updates theephemeral
property on the interaction:discord.js/packages/discord.js/src/structures/interfaces/InteractionResponses.js
Line 103 in 54453b0
However, it does not account for when
flags
are utilised (flags: MessageFlags.Ephemeral
).In the below code sample, uncomment
ephemeral: true
and see the logged interaction'sephemeral
property. Then, uncommentflags: MessageFlags.Ephemeral
and compare the property.ephemeral: true
will be logged in the first instance andephemeral: false
will be logged in the second instance.Code sample
Versions
discord.js 54453b0
Issue priority
Low (slightly annoying)
Which partials do you have configured?
Not applicable
Which gateway intents are you subscribing to?
Not applicable
I have tested this issue on a development release
54453b0
The text was updated successfully, but these errors were encountered: