Ephimeral messages #434
-
Hi! Is there a way to read ephimeral messages? The normal fetch seems not to get them. Is it completely impossible to see them with this library? Its strange because giving your token to the library you impersonate your self and you should able to see them. Am I missing something? Thank you in advance for you help. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
you can get them through the messageCreate event. client.on('messageCreate', message => {
if(message.flags.has("EPHEMERAL")) {
console.log(`Ephemeral message: ${message.content}`)
}
}) you don't have to use the message flags unless you want to do something specific with ephemeral messages |
Beta Was this translation helpful? Give feedback.
-
Duplicated #258 |
Beta Was this translation helpful? Give feedback.
Duplicated #258