The msg.data.atatchment property contains the attachment ID.
The msg.data property contains the channel ID.
The msg.data.attachment it doen't contain the file name.
Without the file name I can not build up the
cdn.discordapp.com/attachments/CHANNELID/ATTACHMENTID/FILENAME
link.
The msg.data.atatchment property contains the attachment ID. The msg.data property contains the channel ID. The msg.data.attachment it doen't contain the file name. Without the file name I can not build up the cdn.discordapp.com/attachments/CHANNELID/ATTACHMENTID/FILENAME link.