You may share your Xbox Gamer Tag and the games you're playing right now with other Discord users by connecting your Xbox account to your Discord account.
For Desktop:
• By clicking on the cogwheel in the lower left corner of your client, navigate to your User Settings.
• The Connections tab can be found on the left.
• On the website, look for your associated Xbox account.
• Turn on Profile Display.
For Mobile:
• Click User Settings, then select Connections.
• On the website, look for your associated Xbox account.
• Activate Xbox status display and/or enable display on profile.