'Tenor Gifs not loading in Discord.Js embeds
I am trying to create a system where a alert command is used and a message along with a random gif is send as an embed. This is working for gifs in the format https://media.discordapp.net/attachments/ but not in the format https://tenor.com/view/. The tenor ones just load and load and then show the little discord poop symbol (failed to load).
Is there a way to make the tenor gifs work or will I have to download and make them all discord attachments
const wallpapers = [
'https://media.discordapp.net/attachments/876621706549149736/942638416821104650/boss_badass.gif',
'https://tenor.com/view/clone-commando-shadow-of-the-republic-gif-20193389'
];
const response = wallpapers[Math.floor(Math.random() * wallpapers.length)];
const alert = new MessageEmbed()
.setTitle("Base Event Alert")
.setDescription("Filler Text")
.setImage(response)
.setColor("#1773BA");
message.channel.send(alert);
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
