aiko-chan-ai / discord.js-selfbot-v13

An unofficial discord.js fork for creating selfbots
https://discordjs-self-v13.netlify.app
GNU General Public License v3.0
701 stars 145 forks source link

Can you get the message result from a button? #1178

Closed itsme12453 closed 2 days ago

itsme12453 commented 1 month ago

Which package is the feature request for?

The core library

Feature

Is it possible to get the message content which says "Only you can see this" after clicking on a button. E.g. the following image. image_2024-05-25_230909546

Ideal solution or implementation

If not, can you make this a feature please.

Alternative solutions or implementations

No response

Other context

No response

gustavoconceicao commented 1 week ago

Did you find any solution?

itsme12453 commented 1 week ago
    client.on("messageCreate", async message => {
        if(message.flags.has("EPHEMERAL")){
                //code to handle "only you can see this" message