Is it possible to set the alt-text of an image sent as a MessageAttachment? #7128
-
As per title - I've tried a few things but haven't had any success. This seems to suggest I need to add a description field to my attachment (also this), although none of the ways I've tried to do that have worked - this seems to suggest it's possible to send arbitrary data as a third argument, but it's unclear quite how to format that and nothing I've tried has worked. Would appreciate some guidance here :) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
discord.js has not yet released this to stable. If you want to use it now, you will have to use the main branch ( |
Beta Was this translation helpful? Give feedback.
discord.js has not yet released this to stable. If you want to use it now, you will have to use the main branch (
npm install discord.js@dev
) which means you'll be able to set descriptions of attachments. Otherwise, you'll have to wait for a release.