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•2y ago
Message Not Public
Sign In & Join Server To View
node: 18.13.0
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
I only want to send the file it made me put something there
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
is there a way to just send a file without text?
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
ok so
interaction.followUp(files: [{ attachment: "screenshot.png" }] );
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
i dont understand
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
what would the line fully look like
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
interaction.followUp({files: […] )}
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
ok sry for wasting your time
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
I still cant get it to work @sir.jo
interaction.followUp(files: ["screenshot.png"] )
Objects have the format of
{ key: value }
and the curly brackets are not optionalworks thank you