Discord automatically shows your friends the games you play. If a game uses Discord Rich presence feature, your friends can even see where you are in the game. Here’s how you can turn this feature off and increase your privacy during the game.
Open the Settings menu in Discord by clicking on the cog in the bottom left next to your name and avatar.
Go to the “Play Activity” tab on the left. Disable the “Show running game as status message” button and Discord will stop sharing your gaming activity.
You can now close the Settings screen.
You can always re-enable this setting using these same steps if you want Discord to show others what you are playing, metadata about the state of your game, or even what you are listening to in Spotify.