Click on the cog from the bottom left corner and open the user settings. Now you have to check the Display currently running game as a status message box to see if Discord is detecting your game or not.