This implementation checks if Discordbot is the user agent, and if it is, we emit HTML with OpenGraph tags, if not, do JSON.
Discordbot