From today's Discord update:

Detailed game stats and integrations are officially here! Game devs can now integrate their game with Discord to do things like:
-Detailed game stats in your profile (like match duration, chosen character, and more).
-Allow grouping and partying up from within Discord
-Sending game invites within Discord
-Spectate invites from within Discord
If you’re a developer interested in Discord’s Rich Presence for your game, click here to learn more.
If you’re a player wanting to know more, check out our help article.

Devs, Discord has become the fastest-growing program used for Final Fantasy XIV. Please collaborate with Discord to allow this to give us the voice and game integration we need!

Edit: here's the link -- https://discordapp.com/rich-presence