Responding to interaction with a video from a URL
Hi,
I have a database of videos that are all stored as links (all on the discord CDN and ending in .mp4). I want to respond to a ChatInputCommandInteraction with a video.
At the moment I'm doing
Is there a "more ideal" way to do this, that's efficient and works?
I have a database of videos that are all stored as links (all on the discord CDN and ending in .mp4). I want to respond to a ChatInputCommandInteraction with a video.
At the moment I'm doing
await i.reply({files: [new Attachment({url: row.content})]}), but that re-uploads the video to the Discord CDN rather than just showing it from the URL, which makes it slower. With images I know you can just provide a url and not have to reupload it, I assume this is possible with videos too? And also Attachment's constructor is private so its not ideal.Is there a "more ideal" way to do this, that's efficient and works?
