Recently faced the problem that my discord bot must be developed. I decided to make the shipment of a random image from the Internet, but how much does not run on the Internet, I did not find information about it. Is it possible to do this and preferably through cloud storage or simply on the link of the VK album or another, for example: search by tag in Google.
tried to use a banal code, but it does not work on links.
@ bot.command () ASYNC DEF SENDPEPE (CTX): AWAIT CTX.SEND ("https://i.imgur.com/hab3rjo.jpg")
@ bot.command () ASYNC DEF SENDPEPE (CTX): EMB = Discord.Embed (title = "Pepe", Color = Discord.colour.dark_green ()) Emb.Set_Image (url = "https://i.imgur.com/hab3rjo.jpg") AWAIT CTX.SEND (Embed = EMB)