Registry / networking / discord-game-sdk

discord-game-sdk

JSON →
library3.2.1vcpkgunverified

The Discord GameSDK is an easy drop-in SDK to help you manage all the hard things that come with making a game.

vcpkg install discord-game-sdk
INSTALL
IMPORT
SIG · DISCORD-GAME-SDK
D
discord-game-sdk
networkingcppv3.2.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

discord.h
✓ #include <discord.h>

Initialize the Discord GameSDK with a client ID

#include <discord.h> #include <iostream> int main() { discord::Core* core{}; discord::Result result = discord::Core::Create(123456789, DiscordCreateFlags_Default, &core); if (result != discord::Result::Ok) { std::cerr << "Failed to create Discord core!" << std::endl; return 1; } core->RunCallbacks(); delete core; return 0; }
Debug
Known issues
gotchaRequires a valid Discord application client ID and network access
fix
Register your application on Discord Developer Portal and use the correct client ID
affects: *
Upgrade
Version history
3.2.1latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
13 hits · last 30 days
node
12
OpenAI (training)
1
Resources

No resource links recorded.

discord-game-sdk — pip install discord-game-sdk · libregistry