This error happens because the discord blocks iframe. An Iframe is a line of programming code that allows you to include an HTML element within another main HTML object. ... In short, an Iframe is a tag within the programming code to show another site in a smaller way.
No, it's just a discord that does that, YouTube and Twitch also block iframes