JDA: Images don't upload
I’m trying to upload a PNG image via JDA, and can’t get it to work. Using a File
to the .png on my desktop, reading the file to a byte[]
, both result in nothing happening at all. No errors in the log, the image never appears though.
Am I missing something? thanks!
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 18 (6 by maintainers)
@MrPowerGamerBR You forgot to
.queue()
, sendFile() returns a RestAction.I just mentioned it so nobody comes and blames that example to not work
classic