Skip to content

Commit f3e53ac

Browse files
authored
Introducing the Discord Social SDK (#7427)
1 parent 01f8df0 commit f3e53ac

File tree

125 files changed

+8072
-43
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

125 files changed

+8072
-43
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@
33
node_modules/
44
dist/
55
.idea
6+
xml_output/

docs/Intro.mdx

Lines changed: 47 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -3,74 +3,84 @@ showTOC: false
33
sidebar_label: Intro
44
---
55

6-
<Hero title="Build Where the World Plays" subheading="Build social games, experiences, and integrations for millions of users on Discord" />
6+
<Hero title="Build Where the World Plays" subheading="Create social games, experiences, and integrations for millions of users on Discord" />
77

8-
## Get Started
8+
## Build with Discord
99

10-
Learn more about what apps can do on Discord or jump right into building your own.
10+
Discord provides a platform for building social experiences, whether you're creating apps within Discord or integrating Discord's features into your game.
1111

1212
<Container>
13-
<Card title="Overview of Apps" link="#DOCS_QUICK_START_OVERVIEW_OF_APPS" icon="AppsIcon">
14-
Learn more about the different types of apps you can build on Discord and how users can interact with them
13+
<Card title="Apps" link="#DOCS_QUICK_START_OVERVIEW_OF_APPS" icon="RobotIcon">
14+
Develop apps, bots, and integrations to enhance the Discord experience.
1515
</Card>
16-
<Card title="Build your First Discord App" link="#DOCS_QUICK_START_GETTING_STARTED" icon="RobotIcon">
17-
Follow the guide to build a Discord app with interactive features like commands and message components.
16+
<Card title="Activities" link="#DOCS_ACTIVITIES_OVERVIEW" icon="ActivitiesIcon">
17+
Build multiplayer games and social experiences that run directly in Discord.
1818
</Card>
19-
<Card title="Build a Discord Activity" link="#DOCS_ACTIVITIES_BUILDING_AN_ACTIVITY" icon="GameControllerIcon">
20-
Follow the guide to build an Activity in Discord using the Embedded App SDK.
19+
<Card title="Discord Social SDK" link="#DOCS_DISCORD_SOCIAL_SDK_OVERVIEW" icon="GameControllerIcon">
20+
Add rich social features into your game across desktop, mobile, and console.
2121
</Card>
2222
</Container>
2323

24-
## Discover Platform Features
24+
## Apps: Extend Discord with Custom Integrations
2525

26-
Learn about different features and explore their reference documentation to bring your idea to life.
26+
Enhance the Discord experience with custom apps, commands, and integrations.
2727

2828
<Container>
29-
<Card title="Messaging" link="#DOCS_RESOURCES_MESSAGE" icon="ChatIcon">
30-
Send, retrieve, and manage messages in channels where your app has access.
29+
<Card title="Apps Overview" link="#DOCS_QUICK_START_OVERVIEW_OF_APPS" icon="RobotIcon">
30+
Learn the fundamentals of building Discord apps and commands.
3131
</Card>
32-
<Card title="Message Components" link="#DOCS_INTERACTIONS_OVERVIEW/message-components" icon="SparklesIcon">
33-
Add interactive elements like buttons and select menus in messages sent by your app.
32+
<Card title="Build Your First Discord App" link="#DOCS_QUICK_START_GETTING_STARTED" icon="WrenchIcon">
33+
Create a bot user that plays "rock, paper, scissors" with users.
3434
</Card>
35-
<Card title="Commands" link="#DOCS_INTERACTIONS_OVERVIEW/commands" icon="SlashBoxIcon">
36-
Create interactive entry points for your app's features that can be accessed across Discord.
35+
<Card title="Slash Commands and Interactions" link="#DOCS_INTERACTIONS_OVERVIEW/message-components" icon="SlashBoxIcon">
36+
Create custom commands and interactions for your app.
3737
</Card>
38-
<Card title="Activities" link="#DOCS_ACTIVITIES_OVERVIEW" icon="GameControllerIcon">
39-
Build embedded games and social experiences that are launchable in Discord.
38+
</Container>
39+
40+
## Activities: Build Multiplayer Games in Discord
41+
42+
Use the Embedded App SDK to create real-time games and social experiences that users can launch directly inside Discord.
43+
44+
<Container>
45+
<Card title="Activities Overview" link="#DOCS_ACTIVITIES_OVERVIEW" icon="ActivitiesIcon">
46+
Discover how Activities work in Discord.
4047
</Card>
41-
<Card title="Monetization" link="#DOCS_MONETIZATION_OVERVIEW" icon="PiggyBankIcon">
42-
Integrate native monetization features like subscriptions and one-time purchases.
48+
<Card title="Build Your First Activity" link="#DOCS_ACTIVITIES_BUILDING_AN_ACTIVITY" icon="WrenchIcon">
49+
Build and test an Activity using the Embedded App SDK.
4350
</Card>
44-
<Card title="Rich Presence" link="#DOCS_RICH_PRESENCE_OVERVIEW" icon="UserIcon">
45-
Display actionable data in a user's profile about what they're doing in your game or app.
51+
<Card title="Activity Design Patterns" link="#DOCS_ACTIVITIES_DESIGN_PATTERNS" icon="PaintPaletteIcon">
52+
Best practices for multiplayer, game design, and player experience.
4653
</Card>
4754
</Container>
4855

49-
## Explore the APIs
56+
## Discord Social SDK: Bring Social Features to Your Game
5057

51-
Learn about some of the different APIs Discord apps have access to.
58+
Enable rich presence, voice chat, and more to create a seamless social experience for your players and grow your game.
5259

5360
<Container>
54-
<Card title="HTTP API" link="#DOCS_REFERENCE/http-api">
55-
Fetch information about and modify core Discord resources like channels, servers, users, and messages.
61+
<Card title="Discord Social SDK Overview" link="#DOCS_DISCORD_SOCIAL_SDK_OVERVIEW" icon="GameControllerIcon">
62+
Explore rich presence, relationships, voice chat, and more.
63+
</Card>
64+
<Card title="Build with the Discord Social SDK" link="#DOCS_DISCORD_SOCIAL_SDK_GETTING_STARTED" icon="WrenchIcon">
65+
Start here for a step-by-step guide to adding social features to your game.
5666
</Card>
57-
<Card title="Gateway API" link="#DOCS_REFERENCE/gateway-websocket-api" >
58-
Receive and send realtime events over a WebSocket connection for things happening in Discord.
67+
<Card title="Design Guidelines" link="#DOCS_DISCORD_SOCIAL_SDK_DESIGN_GUIDELINES" icon="PaintPaletteIcon">
68+
Best practices for integrating Discord Social SDK features into your game.
5969
</Card>
6070
</Container>
6171

6272
## Find Support
6373

64-
Reach out to the community or developer support to get support and stay updated about API changes.
74+
Connect with the developer community, report issues, and stay updated with API changes.
6575

6676
<Container>
67-
<Card title="Discord Developer Server" link="https://discord.gg/discord-developers" icon="ClydeIcon">
68-
Join our community for support, API announcements, and events hosted by Discord staff.
77+
<Card title="Join the Developer Discord" link="https://discord.gg/discord-developers" icon="ClydeIcon">
78+
Get support, API announcements, and participate in developer events.
6979
</Card>
70-
<Card title="Find us on GitHub" link="https://github.com/discord/discord-api-docs" icon="ForumIcon">
71-
Visit us on GitHub to report API bugs, provide platform feature requests, or to suggest updates to the documentation.
80+
<Card title="Report Issues on GitHub" link="https://github.com/discord/discord-api-docs" icon="BugIcon">
81+
Submit API bugs, feature requests, or contribute to the documentation.
7282
</Card>
73-
<Card title="Developer Help Center" link="https://support-dev.discord.com" icon="UnknownGameIcon">
74-
Find articles on common topics and questions, or reach directly out to the developer support team.
83+
<Card title="Visit the Developer Help Center" link="https://support-dev.discord.com" icon="CircleQuestionIcon">
84+
Find articles, FAQs, and reach out to Discord's developer support team.
7585
</Card>
76-
</Container>
86+
</Container>

docs/activities/Overview.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ sidebar_label: Overview
1010

1111
Under the hood, Activities are single page web apps hosted in an iframe and use the [Embedded App SDK](#DOCS_ACTIVITIES_OVERVIEW/embedded-app-sdk) to communicate with Discord clients. This page focuses on how Activities are launched and built, but you can explore real-world Activities by reading some of our [developer case studies](https://discord.com/build#case-studies), or by trying a few out in Discord. You can also jump right into building using some of the resources below.
1212

13-
1413
<Container>
1514
<Card title="Build Your First Discord Activity" link="#DOCS_ACTIVITIES_BUILDING_AN_ACTIVITY">
1615
Follow the guide to build your first Activity using the Embedded App SDK.
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
---
2+
title: "Introducing the Discord Social SDK"
3+
date: "2025-03-17"
4+
topics:
5+
- "Discord Social SDK"
6+
---
7+
8+
Developers can now use the Discord Social SDK to build social features into their games, enabling friends lists, cross-platform messaging, voice and more for all players — with or without a Discord account.
9+
10+
Discord Social SDK offers features that enhance connectivity and player engagement, including:
11+
12+
- Account Linking
13+
- Provisional Accounts
14+
- Rich Presence
15+
- Deeplink Game Invites
16+
17+
Additionally, available in a closed beta to support in-game communications:
18+
19+
- Cross-Platform Messaging
20+
- Linked Channels
21+
- Voice Chat
22+
23+
Developers can request expanded access to these available features via the closed beta.
24+
25+
#### Discord Social SDK Developer Resources
26+
27+
New resources are available in the Developer Portal to help you get started with the Discord Social SDK:
28+
29+
- [Getting Started Guides](#DOCS_DISCORD_SOCIAL_SDK_GETTING_STARTED) for C++, Unity and Unreal Engine.
30+
- [Development Guides](#DOCS_DISCORD_SOCIAL_SDK_DEVELOPMENT_GUIDES) for building your game's social features.
31+
- [Design Guidelines](#DOCS_DISCORD_SOCIAL_SDK_DESIGN_GUIDELINES) for designing your game's social features.
32+
- [SDK Reference](http://discord.com/developers/docs/social-sdk/index.html) is now available.
33+
- The Discord Social SDK binaries are available for download in the Developer Portal after enabling the Discord Social SDK for your application.
34+
35+
To learn more about building with the Discord Social SDK, check out the [Discord Social SDK Overview](#DOCS_DISCORD_SOCIAL_SDK_OVERVIEW).

docs/developer_tools/Game_SDK.mdx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
1+
2+
13
# Game SDK
24

5+
> warn
6+
> **The Game SDK has been archived.**<br />We recommend using the [Discord Social SDK](#DOCS_DISCORD_SOCIAL_SDK_OVERVIEW) for new projects. <br />Existing projects using the Game SDK will continue to work, but we encourage you to migrate to the [Discord Social SDK](#DOCS_DISCORD_SOCIAL_SDK_OVERVIEW) for new features and updates.
7+
38
Welcome to the documentation for the Discord Game SDK! We're glad you made it. The Game SDK helps you develop your 3rd party game or app, and integrate it with Discord.
49

510
---

0 commit comments

Comments
 (0)