How do you create this
in discord.js
version 12.5.3
. I mean that Only you can see this
. I know how to send message to a channel using message.channel.send
but how do I send the Only you can see this
message. Thank you
CodePudding user response:
There is no way of sending these types of "hidden" messages on Discord.js v12, it is feature introduced on v13 on Interactions. Which are related to slash commands and buttons.
Pretty sure you can not send them as it from message
(or messageCreate
) event.
You can read more about Ephemeral responses and maybe work on your implemention of slash commands to your bot