I am trying to send a local image

What is wrong? const attachment = new AttachmentBuilder("D:\Bot\Images\Picture.gif", {name: "Picture.gif"}) .setImage('attachment://Picture.gif')
2 Replies
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
! Bemep
! BemepOP2y ago
No picture No, that's all about the AttachmentBuilder Or you about it - const { Client, GatewayIntentBits, Partials, AttachmentBuilder } = require('discord.js'); What to do? Thanks, my mistake
Want results from more Discord servers?
Add your server