0

discord.js question

so i was making a bot that reflects the messages from a private chat between the bot and the user into another channel on an server. that worked but if the user sends an image it wont reflect that into the channel

27th Aug 2021, 8:57 AM
Nils Hecht
Nils Hecht - avatar
8 ответов
+ 1
So the bot crashes when the user sends an image?
27th Aug 2021, 8:58 AM
Tim
Tim - avatar
+ 1
Images won't work because they're considered empty in the message event
27th Aug 2021, 9:03 AM
Tim
Tim - avatar
+ 1
Unless you already have a url for the images, since links aren't empty
27th Aug 2021, 9:03 AM
Tim
Tim - avatar
+ 1
Upload it somewhere, and you can copy/paste the urls of the images
27th Aug 2021, 9:05 AM
Tim
Tim - avatar
0
no it just wont send images from private chats into the channel on the server, but text messages work
27th Aug 2021, 8:59 AM
Nils Hecht
Nils Hecht - avatar
0
you know how to make it work somehow
27th Aug 2021, 9:03 AM
Nils Hecht
Nils Hecht - avatar
0
Aww no other way around? like Fetch url and convert into dynamic url
27th Aug 2021, 9:06 AM
Nils Hecht
Nils Hecht - avatar