Coding Global Background
Coding Global

Buffering Image

Archiviert 3 years ago
1 Nachrichten
0 Mitglieder
Erstellt 3 years ago
Aktualisiert 3 years ago
In Discord öffnen
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?

Antworten (1)