You will need to install a user script manager extension to install this script.
Have you ever wanted to hide distracting or inappropriate content in a Discord message? This should be a standard feature in Discord, but unfortunately it's not yet.
This script allows you to toggle the visibility of messages that contain gifs, images, videos, or embedded link content. Content that is able to be hidden will have an arrow icon above it. When clicked, the visibility of that content will be toggled.