send a screenshot

I have the screenshot part working, I just need to know how to get the bot to send the screenshot. Here is the code:
20 Replies
Unknown User
Unknown User17mo ago
Message Not Public
Sign In & Join Server To View
Awashcard0
Awashcard017mo ago
node: 18.13.0
Unknown User
Unknown User17mo ago
Message Not Public
Sign In & Join Server To View
Awashcard0
Awashcard017mo ago
I only want to send the file it made me put something there
Unknown User
Unknown User17mo ago
Message Not Public
Sign In & Join Server To View
Awashcard0
Awashcard017mo ago
is there a way to just send a file without text?
Unknown User
Unknown User17mo ago
Message Not Public
Sign In & Join Server To View
Awashcard0
Awashcard017mo ago
ok so interaction.followUp(files: [{ attachment: "screenshot.png" }] );
Unknown User
Unknown User17mo ago
Message Not Public
Sign In & Join Server To View
Awashcard0
Awashcard017mo ago
i dont understand
Unknown User
Unknown User17mo ago
Message Not Public
Sign In & Join Server To View
Awashcard0
Awashcard017mo ago
what would the line fully look like
Unknown User
Unknown User17mo ago
Message Not Public
Sign In & Join Server To View
Awashcard0
Awashcard017mo ago
interaction.followUp({files: […] )}
Unknown User
Unknown User17mo ago
Message Not Public
Sign In & Join Server To View
Awashcard0
Awashcard017mo ago
ok sry for wasting your time
Unknown User
Unknown User17mo ago
Message Not Public
Sign In & Join Server To View
Awashcard0
Awashcard017mo ago
I still cant get it to work @sir.jo interaction.followUp(files: ["screenshot.png"] )
Squid
Squid17mo ago
Objects have the format of { key: value } and the curly brackets are not optional
Awashcard0
Awashcard017mo ago
works thank you