Why do Tenor GIFs result in a Discord poop image in embeds?

Answer

Ok so basically I fixed it with just a small change

  • result.results[gif].url returns the Tenor GIF link which cannot be used as an image in an embed.

And the change I made was :-

  • result.results[gif].url to result.results[gif].media[0].url which returns a media link that can be used in an embed.

I would be thankful for further help, but this did fix my problem.