but what if I send an image that goes beyond the limit?
You declare the image basic metadata at the start of sending and discord may choose to not allow you to send it. And if you lied and transfer is bigger than declared, they'll cut it off as well