#How to send image url in normal message
1 messages · Page 1 of 1 (latest)
No, you would have to download the image and attach it to the message as a file
Then do what they did?
they r offline
Then ask them when they come online. Because the only things you can send with a message are strings, files or embeds
bro you said you cant do it. then you said ask them
Yeah, you said you saw someone else do it so I figured they would know of a way then 🤷♂️
well if you can find an api that accepts an image url and a size, and returns the resized image,
then you can use that and send this correctly formatted api url to discord
(or you can also make your own api if you want)
wait i didnt understand
you mean i can send api image urls in normal messages?
iirc, discord attempts a get request on the url, if an image is returned, then it shows that
like that
It does, but only if the URL is valid and the bot has permissions to embed images, pretty sure.
.tias
If the URL points to a valid image
.tias
its valid
anyway thanks all of you for the help
imma go and try it
also last question
you can resize an image embed?
But the bot needs the right permissions, otherwise it's just going to be a url
You can't control how embeds are sized, that's entirely on the Discord client
i mean image of embed
if not. what about normal messages images?
It will be whatever size the image is, or however Discord chooses to scale it
k
when i send the image link. he send the image. but also keep the link
i can hide it?
Can you show a screenshot
if you send an image link by itself then yes it'll hide
.closing
Done with your help thread?
Please close your own help thread by using </close:1009144375709814897> with @tacit nimbus.