Cannot add file to message while using ephemeral
See original GitHub issueDescription While using ephemeral, adding file to message isn’t possible.
Steps to Reproduce
event.getHook().setEphemeral(true);
File file = new File("image.png");
event.getHook()
.sendFile(file, "image.png")
.addEmbeds(new EmbedBuilder()
.setTitle("Title")
.setImage("attachment://image.png")
.build())
.queue();
Expected Behavior A embed message with image from attachment.
Current Behavior A embed message without image from message.
Screenshots/Videos
event.getHook().setEphemeral(false);
event.getHook().setEphemeral(true);
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Unable to send ephemeral ("hidden") message with pycord
Discord uses 'respond' to respond to commands and 'send' to send a message to a specific channel. Only responses can be ephemeral so...
Read more >chat.postEphemeral method - Slack API
This method posts an ephemeral message, which is visible only to the assigned user in a specific public channel, private channel, or private...
Read more >Configuring file system access for Lambda functions
Open the Functions page of the Lambda console. · Choose a function. · Choose Configuration and then choose File systems. · Under File...
Read more >TCP/IP port exhaustion troubleshooting - Windows Client
Learn how to troubleshoot port exhaustion issues. Port exhaustion occurs when all the ports on a machine are used.
Read more >Implementation with ephemeral pipe - IBM
Some KPP ENV files use KDC_FAMILIES instead of KDE_TRANSPORT. The process is exactly the same for the KDC_FAMILIES environment variable: adding the ephemeral...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
That was fast
that’s a limitation on discords end