Coding Global Background
Coding Global

Buffering Image

Archived 3 years ago
1 messages
0 members
Created 3 years ago
Updated 3 years ago
Open in Discord
J
justlutz_yt
Hi. I have a discord.js bot (v.14) that has a slash command with an attachment as option.

I'm getting the Attachment (Image) from the slash command like this:

const attachments = interaction.options.getAttachment("bild1")

now I need to buffer it. How can I do it?

Replies (1)