It’s already possible to see which games your Discord friends are playing within the app via its status feature.
and now discord is rolling out a new feature called Rich Presence, which will enable smoother interplay between the communications app and any games that support it.
The feature adds a buttons through which you can ask to join your friend or spectate them.
The feature will enable players to join parties that are already in a game, or else party up within Discord and then launch a game directly from the app.
The list of games that support this feature includes Call of Duty: WWII, Battlerite, Divinity: Original Sin II, Payday II, and Squad.