#social-sdk-dev-chat

1 messages ยท Page 1 of 1 (latest)

willow saddle
#

When stage

empty dawn
icy compass
#

if the whole internet goes down again during me doing the Introduction Talk, we will all know the problem is me.

bleak glade
#

Looking forward to this. I was on the cusp of putting together a Discord MMO purely using slash command alone.

jade spear
bleak glade
#

The two approaches were either frames with ASCII messages or emoji map tile set. Slash commands there to open up the โ€œscreen.โ€ Iโ€™m excited to make all of this way simpler with SDK ๐Ÿ˜Ž

unreal prairie
#

Off-topic

jade spear
agile pumice
#

Hii

still grove
#

Hey can someone lead me to the support tickets ^^

sharp boneBOT
#

This server is for help with Discord APIs, SDK and other various integrations. For general support, please contact Discord at https://dis.gd/contact, or send us a message on Twitter at @discord_support

brittle topaz
#

hello. why does it look so bad, there is no closure, the bottom of the profile is also all the indents are not equal and somehow it all looks asymmetrical?

icy compass
#

I promise I'll try not to cause an internet outage with my presentation this time.

visual owl
#

let's hope no outages happen on tuesday (if a outage does happen let's just say it will be chaos)

keen fossil
#

fr

unreal prairie
#

Solaris mentioned :fire::fire::fire:

visual owl
#

I'm sorry Colin but I just gotten confused

#

OHHHHHHH I know what you're talking about now

raven mirage
#

Hi there everyone, I have a question about the Discord Social SDK, from these docs:
https://discord.com/developers/docs/discord-social-sdk/development-guides/account-linking-on-consoles#manual-flow-for-console-authorization

Specifically the Manual Flow for Console Authorization section.

In the first step with instructions on how to Request a Device Code from Discord, the endpoint it shows is "{API_ENDPOINT}/oauth2/device/code"
but whenever I hit that endpoint it returns a 404.

and when I read the rest of the doc, the bottom section with the example titled Example for Manual Token Authorization
The endpoint is listed as /oauth2/device/authorize and not /oauth2/device/code.

I ran the python script, with a client id that I have been using in a live client, and the example code itself returns a 401 stating an invalid Client ID.

Any help would be greatly appreciated thank you!

icy compass
#

Hi there everyone, I have a question

timber current
# knotty birch solar flares

ูˆุงูˆ ุงูˆู„ ู…ุฑู‡ ุงุดูˆู ุทุงู‚ู… ุนู…ู„ ุฏูŠุณูƒูˆุฑุฏ

tepid forge
#

oh hey

#

guys watch ill be getting my active badge for now

distant nimbus
tepid forge
frigid gorge
#

i am new to c++, is it normal for these includes to not have ".h" at the end? my IDE is complaining about them

#

trying to migrate from game sdk to social sdk and am immediately stumped here

#

also i noticed there's a plain C header in the provided social sdk. Is there documentation and/or examples for it? I'd much prefer to use that instead of CPP

tranquil robin
#

c++ does not use .h for stl includes

frigid gorge
quick veldt
#

๐Ÿซข๐Ÿซข๐Ÿซข

static oak
#

Don't be rude

grand trail
static oak
#

Thats not excuse in the slightest

grand trail
#

And that is your opinion and I respect it

#

Have a nice day mister

static oak
#

Its the server rules

grand trail
#

Cool, have a nice day โ˜บ๏ธ

pastel hill
#

but i don't want it

opal silo
#

that's not the social sdk, that's just the game overlay - you can disable it globally or per-game in user settings under "Game Overlay"

pastel hill
full iron
#

I made a C++ module wrapper for the Discord Social SDK, which to my knowledge is the only one that exists. Iโ€™m sure many would like to be able to use the Discord Social SDK using modules rather than headers, so could something like this eventually be merged upstream?

full iron
frigid gorge
lethal karma
#

looks cool

river pine
#

I have a problem and I have come here desperately to see if someone can help me. A few days ago I was repeatedly hearing on my phone the sound that Discord makes when you enter a chat without having it open. I deleted the app and I was still hearing it, so I formatted the phone. Now I'm hearing it on my computer without having Discord open. Have I been hacked or something like that?

sharp boneBOT
#

This server is for help with Discord APIs, SDK and other various integrations. For general support, please contact Discord at https://dis.gd/contact, or send us a message on Twitter at @discord_support

clever cobalt
#

Are the HTTP API Endpoints the Social SDK interacts with documented anywhere? Or are we expected to just use the library? Given the fact there's a sdk.social_layer oauth scope, I presume there's some sort of rest api

willow saddle
cyan swallow
#

helo

thin gyro
willow saddle
raven mirage
#

Will the features like calling and messaging also be free?

empty canopy
#

Hey Mark.

Something I noticed as well, ICE, STUN and TURN are they all abstracted or configurable?

And possibly logs as well? Would like to see codex negotiation and a few other stats, are there plans to implement something surrounding that area?

marble ether
#

Dead chat

brittle mantle
#

can i ask for something, early verified bot developer still available?

empty canopy
marble ether
icy compass
icy compass
empty canopy
gritty estuary
obsidian crystal
#

Did anyone record it I want to watch it

icy compass
#

Please also don't forget to fill out the survey from today's event: https://dis.gd/june-social-sdk

wooden socket
full iron
#

Or would there be any appropriate place where a feature like this could be discussed/requested?

full iron
#

It looked like more of a help forum than a place to make requests

crude onyx
#

๐Ÿ‘‹

naive plank
#

well i missed that event can someone brief me abt this sdk

tranquil robin
tame peak
#

@tranquil robin

buoyant skiff
#

?

tame peak
#

I need him for something

static oak
tame peak
static oak
#

!support

sharp boneBOT
#

This server is for help with Discord APIs, SDK and other various integrations. For general support, please contact Discord at https://dis.gd/contact, or send us a message on Twitter at @discord_support

tame peak
# static oak !support

ah.. it's that, well yeah that's the thing, do you mind if I DM you and talk to you about it, it's quite important and I don't think I can talk about it here, plus a human is required for me to like, get this out too

static oak
tame peak
static oak
#

Support is the only way

tame peak
# static oak Support is the only way

I've tried support, well, request actually, I've given multiple requests and appeals for something that I tried to thing the right thing for, with concrete evidence but Clyde would respond, not an actual person, and even with all the evidence I had, I didnt get appealed, I can show you if you want so you could at least know what it was about and why it's so important and why I needa talk about it

static oak
#

Discord has no live chat support, there isn't anything qe can do to help you

tame peak
#

i see, that's very unfortunate ๐Ÿ˜ญ

#

well then do I just keep trying with support or something?? cause I mean, talking with staff was really my only last ditch option I had to like, deal with this

grand needle
#

the new stuff social sdk is for free using?

wintry urchin
#

Hmmm

grand needle
rose beacon
#

Hi! I was wondering what the chances are to be accepted for the beta features?
I don't really have a company or anything, I'm just really interested in trying the cross-platform messaging from ingame to discord... :D

#

It's also not a new game, I want to integrate it into an already existing game

#

Oh, it says these features are available, just with a rate limit?

rose beacon
#

Okay so I followed this: https://discord.com/developers/docs/discord-social-sdk/development-guides/sending-direct-messages#sending-a-direct-message-to-a-user

But I get

{"message": "Invalid Form Body", "code": 50035, "errors": {
  "application_id": {"_errors": [{"code": "BASE_TYPE_REQUIRED", "message": "This field is required"}]},
  "activity": {"_errors": [{"code": "BASE_TYPE_REQUIRED", "message": "This field is required"}]}
}}

I used the exact code from that snipped. Is this related to the beta limitation or did I just forget something?

barren birch
#

Hi! Mari_WaveOE Hope everyone is doin great!

QQ, what are the current rate limits for rich presence activity updates? Trying to figure out the scope of real-timeness I can add to my app lmeow

static oak
#

Discord doesn't document exact rate limits and they can change at any time

distant nimbus
# barren birch Hi! <:Mari_WaveOE:869998749244616754> Hope everyone is doin great! QQ, what ar...

While they can change at any time, you could run tests periodically or with a test app with social-sdk and purposely hit rate limits to find an approximate timing format. ... I just use the response when being rate limited and act accordingly by waiting. I don't try to reverse engineer the rate. BUT my stuff is very infrequent so my use case is different. For more realtime updates, I can see wanting to know around when you will be rate limited to slow down or prioritize updates to rich presence.

dull obsidian
#

There's no need to "test" the rate limit, just follow the headers. It tells you what the limit is at the time the request was made.

distant nimbus
barren birch
#

Thanks a lot for the insights! :D I just wanted to know the general limits to decide on which parts are worth updating between rounds, fair I can probably just check myself through the headers

#

iirc it was something around one update per 8 seconds or 4 per 15 I donโ€™t recall exactly so I was trying to confirm but never seen it on the docs so my memory might be failing me

distant nimbus
winter sun
#

Hi so I have some design questions around the intent of Discord Social SDK

First, a bit about who we are, we are Heathen Engineering, we create tools for Unity and Unreal and in particular, integrations for platforms like Steam and well, with Discord Social SDK we are looking into that

But the whole "Guild/GuildChannel" and Linking a channel to a "Lobby" has me confused on the design intent

never mind the choice of naming the part, I don't understand is what Discord means to be done/used RE: Guilds (servers) and linking to their channels

Since a "Lobby" (chat group) cant be joined unless you know the secret, you cant get the chat group from the server so if there is an existing linked chat/lobby its what, just not joinable without human friction.

Then there is the question, if a channel can have 0 or 1 linked "lobby" I would assume only users with a given security permissions can link the lobby which means a game cant simply connect to the corresponding channel the server admin set up for it instead an officer of the "guild" would have to link them ahead of time in a way where the secret is known and it also means you cant have 1 channel multiple apps?

#

The more I dig into Discord Social SDK the more I am confused on the intended use cases

#

I'm sure I am just getting tangled up in some of the terminology

icy compass
#

Hi so I have some design questions

scenic steeple
frigid gorge
#

so I am not a CTO at a big tech or a PHD in CS, but isn't it weird to use clientId and applicationId interchangeable within the codebase? In the header I can find mentions of both applicationId and clientId, which i find confusing.

static oak
#

unless your app is extremely old, they always the same

#

and with extremely old i really mean extremely old, as in predating bot accounts

tranquil robin
#

app id and bot id can be different, but client id is the same thing as bot id

#

client id is just the standardized term in oauth

frigid gorge
static oak
#

this server is english only as per #rules

#

also no need to shout in all caps or to ping random people

deft patrol
#

Ya

#

What not

static oak
#

this server is english only

deft patrol
#

Hmm

#

Ya there is glitch in discord in which let's take your example. Like you seeing your friends discord ID and you see guess what you can't see your self as friend in mutual friend section. Even though there is option is comming called ADD FRIEND only one friend is showing in his ID in mutual friend section

#

But wait who r u

tepid forge
#

anyone pretty experienced with game sdk?

dull obsidian
#

It's best to ask your question so those who can help will help

tepid forge
#

i don't know to make anything regardin this new SDK. I find it very confusing. I want to make my game's rich pressence + the description and discovery of the game like all the new game have. So i can have those badges on the game, like trending, new game or whatever there is as i've seen..

dull obsidian
#

So you have a game you want to incorporate the social SDK into, then? Have you read the overview of the SDK? The more specific you are the more likely people are going to be able to help you

tepid forge
#

Yes, i did everything regarding unity.

dull obsidian
#

Sadly, we get a holy craptonne of low-effort "it doesn't work" 'questions' that we tend to ignore questions that don't have actionable answers

#

The best way to get help is to make a post in #1350223314307776592 that explains:

  • where you're at with your game
  • what you want to use the SDK to add to your game
  • what you've read of the SDK docs
  • what you've tried to do
  • what you expected it to do
  • what you don't understand
#

The more information you give the better chance people will jump in and help

tepid forge
#

You're right. And I apologize. At the moment i am so confused about this (even tho it might be the easiest thing ever to do) , that I don't even know what to ask, and how to be exact.

dull obsidian
#

No need to apologize! You're new here and still figuring stuff out. It's totally OK

knotty birch
frigid gorge
#

has anyone worked with the plain C header and figured out how to make a Discord_String that gets accepted? I tried recreating AllocateString(std::string const& str) in my target language but I think it gets rejected by discord cause i don't see the state and details in my status

frigid gorge
frigid gorge
#

i remember with gamesdk we couldn't change the activity name and activity type. is that still a thing with social sdk?

rose beacon
rose beacon
#

nvm I just figured out that the command gets registered client side

#

so it can be different for everyone

#

which makes sense because the game path can be different

frigid gorge
#

failed to update presence ErrorType: 6 Error: Field "state": String length is out of range. Must be between 2 and 128
is this characters or bytes?

wet violet
#

characters most likely

frigid gorge
#

it complained about this string

#

after trimming the bytes it accepts it

wet violet
#

why

frigid gorge
# wet violet why

i dunno, might be skill issue on my part cause the docs say characters

#
std::optional< std::string > discordpp::Activity::State    () const
The state of the party for this activity.

See the docs on the Activity struct for more info. If specified, must be a string between 2 and 128 characters.

dense cape
sinful torrent
#

You can open a PR

frigid gorge
tranquil robin
#

yeah

swift epoch
#

Hello, how I donwload the dll for c++?

tranquil robin
swift epoch
#

One question guys, I download the social sdk for c++, the unique method for use it is clone a already existing .dll of the game, re-import all exportes from that dll + discord social presence, but I cant get it, I get the discord activity without buttons, only the information

#

Exist a example for create a dll?

#

code example of the buttons

rose beacon
#

the button automatically appears if you set up game invites

#

make sure to check with a different discord account, I myself didn't see any button when looking at my own profile

swift epoch
#

lf developer for make this t_t

stable widget
#

Hi there,
just a stupid question,
Where can I obtain the Android SDK?

stable widget
icy compass
#

Gentle nudge reminder to follow #rules message in here with your messages.

sinful torrent
digital mauve
#

umm how do i use sdk

frigid gorge
shy bronze
#

Hey,
I'm using the social sdk in unity (so, c# wrapper). I just wanted to know if we can disable timer in rich presence for some states.
Could anyone let me know if it's possible.
Thanks in advance.

shy bronze
#

Yes, exactly

#

could we disable it for some states? as there are states which doesn't need the timer.

frigid gorge
knotty birch
rose beacon
#

Damn why did I not get a ping for this, I think I even clicked I'm interested :(

#

Is there a recording of it?

#

And can you ping some role next time ๐Ÿ™

static oak
rose beacon
#

Okay great, no idea why I didn't get the ping

#

Maybe I dreamed that I clicked "interested"

icy compass
static oak
#

the stage should start the event

#

and it did show in the sidebar as active during for me

icy compass
#

adds more items to the event running checklist to make sure everything works as expected

static oak
#

or you know, grab the code and simplify it ๐Ÿ˜‰

icy compass
#

heheheh exactly

zealous burrow
#

Where do i download the social sdk for android in unity???

#

Nevermind found it!

mossy heart
#

Does anyone know if its possible to setup rich presence in a unity project with the social sdk without the need for the player to click allow in the discord app?

#

I only know how to in the Legacy GameSDK but I want to update to a newer system.

open prism
#

yea

south shale
#

can you use this api normally without being approved yet?

prime parcel
#

any guidance or docs on how to use richpresence without connecting via oauth?

static oak
pale pine
#

I don't have the gtav enhanced in the registered activities anymore i removed it because it was showing an error below it. I think it might have been due to i had both the gtav legacy and enhanced installed. But now after i uninstalled gtav legacy it still doesnt register gtav enhanced back. It keeps adding the the Battleye Launcher and the rockstar games launcher. @dim venture

#

GTA5_Enhanced.exe is the correct executable.

dim venture
#

Well again, not the channel for it :p wouldn't know

pale pine
#

which is the right channel?

dim venture
#

However most of these channels are for developers, this would be more supportish ig but someone who knows may be able to help

#

What I said is the only solution I know

static oak
#

For false detections ,contact dev support

pale pine
static oak
#

!support

sharp boneBOT
#

This server is for help with Discord APIs, SDK and other various integrations. For general support, please contact Discord at https://dis.gd/contact, or send us a message on Twitter at @discord_support

woven token
#

Endpoint /partner-sdk/token returns HTTP 500 Internal Server Error when external_auth_token is malformed (invalid/incorrect JWT token), which I expected more HTTP client error range like Bad Request and json with error data

tranquil robin
woven token
#

Sure!

prime parcel
#

unsure if linux issue but whenever i try it i get the successful callback ran and no presence update on my account

south shale
frigid gorge
#

just init the client and update the presence

jade spear
lavish barn
#

Please allow full posters to be accessible to everyone and not just crunchyroll ๐Ÿ™

cinder dove
#

Uhhh so hey guys?

#

I actually don't know much about the platform or how exactly it works but I wanna ask a couple questions if anyone is free

frigid gorge
cinder dove
#

Uhmm so I was creating a bot jacklyn Jr w name BTW how ever I thought that I could yk code??? the bot on the discord dev website however I had to use a 3rd party site and it was a lil difficult to understand the ui and or they weren't active..

Also the bots function was to make random team for us in game but since I cant let the bot use I for from the app without fear of being banned is basically a random image selector that selects pre recorded images from a private channel... Ik lame but it's the best I came up with

#

This the scenario..

frigid gorge
cinder dove
#

Also are u good at server design

#

I would also like pointers to better my server

frigid gorge
cinder dove
icy compass
knotty birch
#

for social sdk enjoyers wumpus_party

frigid gorge
static oak
marble anvil
#

i assume theres no way to avoid the social sdk and make network requests yourself right? im dealing with a confined environment that the precompiled binaries likely wonโ€™t work on

frigid gorge
static oak
#

It mostly does but most of it isn't documented

marble anvil
#

unfortunate that it isnt documented

#

im working on a homebrew switch app and wanted to use social sdk features

#

ofc i doubt the sdk will run on a target that is basically bare metal

frigid gorge
#

you could try using the .so that is provided with the SDK, it's ELF so should in theory work on arm @marble anvil

frigid gorge
frigid gorge
#

that's cool, i was planning to make something similar with the game sdk but never got around to it

#

i never went further than hello world xD

marble anvil
#

probably not that big of an achievement to many but im not that knowledgeable with compilers

frigid gorge
marble anvil
#

iโ€™d appreciate that thanks

urban steppe
#

is there a unitypackage for the social sdk

#

ps I also need to report something urgent to someone of discord's staff team idk where to go so please dm me about what it is(dont want to make a fuss and its not a ticketable matter or support)

sharp boneBOT
#

This server is for help with Discord APIs, SDK and other various integrations. For general support, please contact Discord at https://dis.gd/contact, or send us a message on Twitter at @discord_support

jade spear
# urban steppe is there a unitypackage for the social sdk

Yes if you go to the developer portal you can create an application and enable to Social SDK for it! From there you'll be able to download the Unity version of the Social SDK. We also just released this sample that implements OAuth, Rich Presence, and a working friends list for you

GitHub

A Unity sample project demonstrating integration with the Discord Social SDK designed with best practices in mind. - discord/social-sdk-unity-sample

urban steppe
urban steppe
#

do want to say we use steam rn

#

hoping its compatible with Steamworks

tepid forge
#

no way what

urban steppe
opaque flax
#

@urban steppe what type of game is it

#

Vr

#

Mobile

urban steppe
nimble crest
urban steppe
#

maybe just going to focuss on my mod loader game idea

#

or go back to the old idea

icy compass
urban steppe
#

but like I said its lost

#

git did not save the code Sad

#

but I did save the code by decompiling the steam upload right from the steamworks sdk

#

and it cant be to hard to remake

#

seeing the framework does a lot of the heavy stuff

icy compass
#

Famous last words ๐Ÿ˜„

#

there's also auth, matchmaking, dedicated game server hosting, etc

urban steppe
#

I mean old code was a mess so its best anyway

icy compass
#

unless it's all peer to peer?

urban steppe
#

I want to replace the steam login as username stuff with a better solution

#

as for server I use a server already mostly for my bot and hosting stuff

#

that being the bot might be good to focuss on Yuki too

#

wait maybe git did save

#

nope thats the old version

urban steppe
#

anyways does discord's social SDK support login

#

and is Discord's Client RPC still there

#

so I have a easy way to let users login on another platform then steam

#

but yes mark backends and networking for MMORPGs is extremely complex

#

and it sucks that mirror has no external server meaning I need to be careful with stuff like API keys

urban steppe
#

I also take my guess and think it still detects the client's userid

#

like the old RPC sdk

#

might be handy for checking to see if a bad actor is attempting to evade a account ban

#

let me try the sdk sample by the way small tip maybe make a unitypackage

#

to import those into existing games

icy compass
urban steppe
#

I am currently testing it yes

#

would be amazing to see what can be done with the UMMORPG kit we use

#

maybe I can export to wasm and make it work inside discord kek

icy compass
urban steppe
#

and planning on android

#

no IOS due to price

icy compass
urban steppe
#

but let me see the SDK first

#

as in the sample

#

oh wait I found the unity plugin and such

#

oh wow it supports steam

#

good let me login to the steamworks page and link it

#

it works

#

now I will redo my game a little bit and see if I can implement it into the framework

#

can I chat ingame to my friends tho

waxen hollow
#

@icy compass

#

welcome

serene shore
#

Hi, what is the social sdk

opal silo
#

https://discord.com/developers/docs/social-sdk/index.html

Discord's Social SDK provides a way for games to deeply integrate with Discord. The SDK is a C++ library that Discord distributes and would be integrated and shipped with the game itself. We auto-generate a plugin for both Unity and Unreal and have a small sample app for each that demonstrates basic usage.

The SDK only provides access to data, it does not provide any UI. The expectation is that games will want to skin and customize any UI to match their gameโ€™s aesthetic, and so the SDK just provides access to the raw data and allows games to build the UI as they see fit.

urban steppe
#

but this time I got a reason to reapply

#

seeing last time we where not clear what we wanted to do with it

#

oh shoot used wrong email

#

I use a diffrent one for discord

pseudo fern
#

any1 got discord rpc libs c++

hard vigil
#

hey guys! what does the acceptance rate for the sdk closed program look like? I want to develop using the discord social SDK but I don't wanna develop & end up having to redo the entire thing if I figure out I get denied

pseudo fern
#

any1 got discord rpc libs c++

hard vigil
pseudo fern
#

i know

#

i need it asap

#

i need disord-rpc.lib

grim token
near seal
#

what does sdk stand for

lethal quartz
#

Software development kit

near seal
#

ok

pseudo fern
#

nvm

final pilot
#

Haw i start whith sdk ?

jagged warren
#

Are there any examples of mobile games using social sdk chat or voice?

tranquil robin
#

I know Bloons TD battles 2 has discord integration but idk if they support chat or voice

knotty birch
icy compass
#

FYI: don't look at the managing voice chat guide ๐Ÿ™‚ it's a tad broken atm. Fix is incoming. I missed a thing ๐Ÿ˜ฌ

icy compass
#

..all fixed! ๐Ÿ˜„

icy compass
woven token
wispy ice
#

hi someone know where to find the discord rpc sdk for visual studio 2003-2005? or someone with knowledge about to put rpc on tales of pirates Corsair files?

civic cradle
wet barn
jade spear
woeful kindle
#

How do I apply as a Discord administrator?@anthony.tesija

knotty birch
woeful kindle
knotty birch
civic cradle
crystal vortex
#

hello! iโ€™ve got this silly idea, what if i made the Social SDK work as a minecraft mod using JNI? kind of like how the Essentials Mod does its thing but discord. and before i start going down the rabbit hole, i just wanted to check if anyone knows whether this is even possible in the first place

agile stirrupBOT
crystal vortex
#

that is JNI ^^

#

itโ€™d probably be quite the project but everything can be fun

frigid gorge
crystal vortex
#

i'd take that as a yes and i actually can't wait to even prototype

elfin oak
civic cradle
#

writing JNI means a lot of boilerplate coding, can be meditative at times, maybe fun for a short while, but gets quickly tedious. If you ask nicely you can probably get your AI assistant to do that for you

rose beacon
#

I don't really have the time to code on big projects right now, but maybe it'll help you get started

#
  • I'm not really experienced in java lol
#

Definitely feel free to contribute as well ๐Ÿ‘

crystal vortex
rose beacon
crystal vortex
rose beacon
#

iirc current social sdk only supports sharing chat invites with some type of password

#

called "client secret" or smth

#

which you have sadly no control over

#

Discord doesn't check if a user has the permission to write in the lobby channel

#

it just checks this secret

#

So if someone gives away that secret to a friend they can join, even if they're not meant to

#

But yeah, maybe you can find a way around that

crystal vortex
#

or has it most likely not changed

rose beacon
#

I haven't quite kept up yet but I think nothing about that changed

crystal vortex
#

ah i see

rose beacon
#

I think the announcement was just that these features will now be available to everyone

#

So hopefully we can get that feature some day

crystal vortex
#

oh so it is a known thing

#

iโ€™ll keep that in mind

#

thank you!

rose beacon
#

Yeah I believe there's at least 2 people who requested this

#

Okay good luck then :3

rose beacon
#

@crystal vortex i just realized the readme was wrong it's 1.21.5 not 1.12.5 lol

crystal vortex
#

that makes much more sense

rose beacon
#

I don't even think fabric exists for that version lmao

crystal vortex
#

oh wait

#

i think fabric is from like 1.13

valid dome
balmy widget
#

Ok

tepid forge
# fair wave

the music sound that's cool but what do you pretent to understand

fleet inlet
fair wave
fleet inlet
#

nice

fleet inlet
#

rust as in the lang not the game lol

fair wave
#

although itโ€™s written in C++ so would work fine without bindings, right?

fleet inlet
#

I need to fill this out to get access and there's no other way :/

fair wave
fair wave
fleet inlet
fleet inlet
bold snow
#

@lone badger

dull obsidian
fleet inlet
#

Please reply with ping on

fair wave
#

Is there a way to detect if discord is in streaming mode?

fleet inlet
sly wing
#

can someone help me why this shows when i turn off public bot

opal silo
#

remove the default authorization link under "Installation" as it suggests

tacit girder
#

I've got a question about lifetimes, are these examples safe? Code is in C (using cdiscord.h)

Example #1 (address of stack variable is fine, or need to allocate everything?)

Discord_StatusDisplayTypes status_display_type = Discord_StatusDisplayTypes_Name;
::Discord_Activity_SetStatusDisplayType(&activity, &status_display_type); // status_display_type is a **stack variable**

Example #2 (when to drop, instantly or after callback?)

Discord_Activity activity;
::Discord_Activity_Init(&activity);
// set up activity...
::Discord_Client_UpdateRichPresence(&self.client, &activity, update_activity_callback, nullptr, nullptr);
::Discord_Activity_Drop(&activity); // **instantly** drop after the call
placid goblet
tacit girder
#

Right, but how do I know what the function does? These are cdiscord.h functions

placid goblet
tacit girder
#

The C headers have no comments and I don't see any readme file in the DiscordSocialSdk-1.5.10839.zip

tacit girder
#

That's C++

#

The C calls don't have any of the C++ memory management, I'm asking specifically about C

static oak
#

I don't think they provide a pure c version

#

So interop would be up to you to manage

tacit girder
#

I'm happy to do so, I'm just wondering how long does the objects need to stay in memory (until call or until callback), and who is responsible to call Drop (me or the functions I passed a non-const pointer to already do it)

#

I'm pretty sure it just boils down to those 2 things

static oak
#

Pretty sure it would be you thats responsible, but i don't know the sdk internals myself

tacit girder
#

I hope somebody can clarify that, it's probably also good info for other language bindings creators

static oak
#

Opening an issue on github might be best

placid goblet
tacit girder
#

Sorry if this comes off as offensive but I'm getting big Chat GPT vibes from you @placid goblet ๐Ÿ˜…

tacit girder
#

just a hunch

placid goblet
tacit girder
#

I appreciate it

raven saddle
#

Hyy chat i need help
My account got banned

#

Please someone help me

static oak
raven saddle
static oak
#

now wait for them to respond

raven saddle
static oak
#

please stop going off topic

#

it's completely unrelated to this server and the social sdk

limber tinsel
#

Hey! Does anyone have some ideas when it comes to building houses for a horror game?

frigid gorge
#

you will need to reimplement some stuff like Discord_String and the callbacks yourself if you want to use plain C

tacit girder
#

I did that and it seems to work, thanks ๐Ÿ™‚

halcyon surge
deep idol
#

Does the Discord Social SDK .aar conflict with GPLv3 license terms? Can I not use it in my GPLv3-licensed app?

graceful cargo
deep idol
#

aw man... thanks for the info!

graceful cargo
long forge
#

Hey, quick question, lets say you have a full client-sided application, so it uses public client, i noticed that the default presence permissions, allows you to actually manage the discord friends (add/delete), not just "game friends", won't this means anyone who steals the user token, can literally delete all user friends using that on behalf of whatever app id that requested the token? Is there a way to make a token with permissions to manage the game friends but cant add/delete discord friends for safety?

tranquil robin
#

who are you worried about stealing the token?

#

like, are you talking about malware on the user's computer?

long forge
#

can be a malware on user machine or other person with access to it, or anything like that sincerely, would be good to have an option that my application token cant edit the user discord friends (can read but not edit), this way i can choose that to be safer.

static oak
#

consider their discord user token is stored on that same machine and can do more damage, i don't the user machine being compromised is a concern you should worry with

#

your apps token is gona be the least damaging they would have gotten

long forge
#

personally im using encryption and other measures, but if knowledgeable enough one can still grab the token from the user machine at the end of the day

static oak
#

it would require the same access and privilige level as other discord storage

long forge
#

also i noticed that sdk_layer gives permission to write msgs on user behalf (of course i can simply use the layer_presence), but wouldnt this give easier time for spam bot makers, mainly under public clients?

static oak
#

rate limits and discords anti-spam systems would still apply, this wouldn't bypass any of that

long forge
#

ok, i guess ill simply treat the aes256 and the user own machine protection to be enough then, thanks

icy compass
placid goblet
fair wave
#

if so, then it's your copyright, so the GPL doesn't matter

frigid gorge
#

I used to pray for times like this. Now to wait for the 2026 update where I'll get to also change the activity name

tranquil robin
#

@frigid gorge we added status_display_type so you can choose to show the details or state there, like Spotify does

frigid gorge
tulip bobcat
#

if you have more than two PLAYING activities discord will only show one of them on desktop is this new

tulip bobcat
bitter vessel
#

does the privacy of a party actually change anything? since whether i do private or public it still shows "ask to join" ๐Ÿค”

icy compass
# bitter vessel does the privacy of a party actually change anything? since whether i do private...

https://discord.com/developers/docs/social-sdk/namespacediscordpp.html#a05688bf2282548dba7cca3fd26f8dbd4

Private:

The party is private (or unknown), which means that the user is in a party but it is not joinable without sending a request to join the party.

This is the default value. You will also receive this value when receiving other users' activities as the party privacy for other users is not exposed.

bitter vessel
bitter vessel
#

like i said, whether i have it set as private or public it always shows "ask to join" to friends

#

it only shows "join" if i disable then re-enable either of the two privacy options in user settings however doing that for both privacy types makes it show "join" which doesn't make sense since logically it should stay as "ask to join" if i toggle them whilst in a private party?

bitter vessel
icy compass
bitter vessel
#

what I'm tryna say is:

  1. Public parties show "Ask to join" instead of "Join" until you disable then re-enable any of the settings in the "Activity Privacy" user settings tab
  2. Enabling either toggle in user settings whilst in a private party makes it act like a public one (it shows "Join" when it's private so should still show "Ask to join")
#

like this screenshot is when I'm in a public party and have "allow friends to join my game" enabled, it should show "Join" not "Ask to Join" if I'm understanding it correctly? (I'm friends with the person who sent me the screenshot)

icy compass
icy compass
#

Public Party Join Issue

fair wave
#

Heya, btw that bug with messages fetched from lobbies always showing up as โ€œsent from gameโ€ still exists

#

it does not happen with DM messages

fair wave
#

also, another bug, deleted DMs can still be fetched

#

the deleted messages callback still fires

#

but if i refetch the DMs i can get the deleted messages back

#

further information: it appears to only happen if the messages were deleted with the program (the game) closed

fair wave
#

and MessageHandle#EditedTimestamp returns 0 after a restart

icy compass
#

MessageHandle EditedTimestamp Issue

icy compass
#

http://youtube.com/watch?v=AlGrtgnCFc4 - The recording for our recent Discord Social SDK: Communication Features for Game Developers DDEVs event just went live.

We went through what is required to get the development rate limits removed for the Discord Social SDK communication features, as well as answer many of your questions!

Welcome to a deep dive into the Discord Social SDK's new communication features. In this talk, we break down everything game developers need to know to integrate powerful chat, voice, and social functions into their games.

Learn:

  • What the Discord Social SDK is and why it's a game-changer for developers.
  • The essential communication features ...
โ–ถ Play video
astral raft
#

Just wanted to say hi. Our Studio just started to look at integrating Discord Social SDK within our basic game template we use for starting our game projects. I am the lead developer on this particular set of development sprints and these last three weeks I have been making good progress wading through the documentation and then implementing them withing an Unreal Engine 5.6 platform in blueprints, underlying C++ accessing Discord and the Unreal EOS Services. I was thinking of making a series of tutorials showing what I discovered and was able to get working. As I build these, I wonder where it would be best to expose these on this Discord Server for other Developers to utilize. It would be great to have a moderated Discord Channel in the Server for Community Tutorials. If not a channel, what is everyone's opinion on where would be the best place to put the links for the planned tutorials.

rose beacon
#

I'd definitely watch this content if it's good

frigid gorge
#

Are timestamps supposed to be in seconds? Maybe I am missing it in the docs but it's not specified anywhere

#

there's this in the class reference for ActivityTimestamp, but this doesn't seem to match up with the example, unless i am being dumb rn

#

what happens when i set start and end time to milliseconds

#

it seems to be just in seconds from what I can gather

icy compass
#

Timing Analysis

acoustic dome
#

What is the SDK?

torn halo
#

Hey! Just wanted to ask if there's an easy way to use the social-sdk with a bevy(rust) game?

meager crater
torn halo
fallen mesa
#

Hi there! Is the Social SDK going to be available for web targets?

icy compass
#

cxx or similar would likely be the way to go.

torn halo
icy compass
torn halo
icy compass
# torn halo hmm yeah i guess, was just looking through cxx - don't really see that in exampl...

(LLM powered), but something like this might work:

// build.rs
fn main() {
    cxx_build::bridge("src/main.rs") // Path to your Rust file with #[cxx::bridge]
        .file("path/to/my_cpp_library_wrapper.cpp") // Your C++ wrapper source (if any)
        .flag_if_supported("-std=c++17")
        .compile("my_cxx_bridge"); // Name of the generated library

    println!("cargo:rustc-link-lib=dylib=my_cpp_library"); // Link against your C++ shared library
    println!("cargo:rustc-link-search=native=/path/to/cpp/library/dir"); // Specify library search path
}

To add the dynamic libs to the linker path

#

but I'll let you play with it ๐Ÿ˜„

torn halo
frigid gorge
#

You can also do stupid stuff like me. I just called the underlying C API directly instead of learning how my language of choice interops with C++

lofty junco
#

lol

fair wave
silent cedar
#

Hello, new here. had a quick question (not sure if this has been asked before) but are there any console guidelines/requirements I need to be mindful of when integrating Discord Social SDK in our upcoming game?

lavish musk
#

Whatโ€™s SDK?

shut jetty
#

Software Development Kit

wispy dawn
#

Sd

unkempt ivy
#

Are there any plans to write the SDK in rust? Or should I make a wrapper?

silk creek
#

Whats that

fair wave
jade spear
#

Our recording on getting started with the Social SDK in Unity is now live! We walk through setting up Rich Presence, the friends list, and direct messages in Unity

In this video, we dive into building social features for your game using the Discord Social SDK and Unity. Learn how to implement key features like a friends list, rich presence, and direct messaging with pre-built prefabs. We'll walk you through setting up your application in the Discord Developer Portal, configuring the sample project in Unity...

โ–ถ Play video
unkempt ivy
unkempt ivy
#

but theyre better working on C

dawn swallow
#

Who here is good at C++

jade spear
fair wave
frigid gorge
peak jetty
#

Not sure if it's the right channel to ask, but how can we handle accounts merged and lost data?
Basically, I merged my discord account to my app, but lost the tokens due to my local database being erased, and the unmerge option requires it. Is there a way around it?

unique sigil
#

?

icy compass
peak jetty
gentle ivy
#

Do user tokens really exist on Discord?

static oak
#

You mean oauth tokens for the social sdk to get info about the current user? Yes those exist

silk pasture
#

Hi, I'm using the SDK for rich presence on my game in unity and I cannot see the status on my profile while I'm running the game. Do I need to somehow initialize it?

fair wave
#

or make the SDK do verbose logging

silk pasture
#

Forgot to tell that I already figured out

jade spear
silk pasture
#

Had to call the UpdateRichPresence function

#

And had to fill up the state and details

nocturne chasm
#

Hello everyone, started with the discord social sdk integration to our game and was just kind of doing a sanity check here: right now we get a popup every time we open the game to authorize the app, i assume there's required steps to get rid of this popping up everytime the user opens the game?

jade spear
peak jetty
#

Hi, I am trying to edit a user permission in a lobby so I can link the lobby to a discord channel.
But I am getting this response while calling https://discord.com/api/v10/lobbies/{lobbyId}/members/{userId}, what am I doing wrong?
The only scope that returns a token is "identify", everything else returns "The requested scope is invalid, unknown, or malformed."

{
    "message": "401: Unauthorized",
    "code": 0
}
woven token
#

And Unauthorized error means you passed invalid or malformed Authorization header

peak jetty
#

Thanks for replying.
I changed to PUT and now it gives me unauthorized..
I am using postman, I got the bearer token by calling https://discord.com/api/oauth2/token with grant_type:client_credentials and scope:identify.
This returns a bearer token that I copy pasted into authorization tab for the request with bearer token type, so not very likely I passed an invalid token...

#

The error made me think the scope was not good enough for /lobbies, but anything other then identify returns that the scope is invalid.

peak jetty
#

Switching to a bot token authorization on this call seems to have fixed the issue.
But still the sdk is returning this error:

[Error] [Discord SDK] [2025-09-22 17:45:01.675] [74260] (api_client.cpp:40): PATCH to https://gaming-sdk.com/api/v9/lobbies/xxxx/channel-linking failed. Error:  HTTPStatus: 403 ResponseBody: {"message": "User does not have the necessary lobby permissions to perform this action", "code": 50241}
eager sphinx
eager sphinx
grizzled path
#

So in this linked channel docs: https://discord.com/developers/docs/discord-social-sdk/development-guides/linked-channels

The example functions don't show how "Enable the CanLinkLobby flag (1 << 0) on your lobby member by either sending a request to the /lobbies/<lobby_id>/members/<user_id> endpoint or by including the member data in the body of the Create Lobby request." is done.

I'm using the unreal plugin and besides the above I should have all done for the channel linking, now just need to give the permission for channel linking.

Discord Developer Portal

Build games, experiences, and integrations for millions of users on Discord.

tranquil robin
#

@grizzled path you cannot set that inside your game, it has to be controlled by your backend server

grizzled path
#

Okey thx, well that complicates things a bit.

polar acorn
#

Before I start developing: How high are the chances of a non-game being approved for lobby communication with the social sdk? To be clear, I'd be using that for synchronizing Discord chats for example

fossil tinsel
#

guys my discord is not loading gifs
any solution?

static oak
#

!support

sharp boneBOT
#

This server is for help with Discord APIs, SDK and other various integrations. For general support, please contact Discord at https://dis.gd/contact, or send us a message on Twitter at @discord_support

knotty birch
knotty birch
polar acorn
#

But thanks for telling in advance that you also rate it as a misuse

nocturne chasm
#

What is the general answering time for support tickets?

opal silo
#

that depends on your ticket and the current queue, we have no insights into that
this channel is also specifically for the social SDK

nocturne chasm
#

Okay sorry. Ticket was in relation to that, so thought I'd ask here.

opal silo
#

keep an eye out on your email, you will receive one as soon as they get to your ticket

late ivy
nocturne chasm
#

yeah it was dev support related.

static oak
#

This server is mostly community helping community

remote shadow
#

does rich presence work on mobile/console or just pc? i assume so but i can't find any explicit mentions in docs of what features are supported on which platforms

wet violet
#

Custom RPC, I think only works on PC builds that support the connection

remote shadow
#

the changelog for 1.1 includes "Added support for sending rich presence updates and invites without connecting to the Discord gateway on desktop"

#

which seems to imply that it directly goes via the discord api on not-desktop

wet violet
#

I'm unsure of the specifics honestly

static oak
#

Thats what that changelog is about, them adding that feature

astral raft
#

I am almost done with integrating discord into a game template using the social sdk and some server side c++. I have a question about the gg sans ttf font that is used in discord. The license restricts its use to Discord brand materials. If I am getting the text, user identity using the Discord Social SDK would that be considered Discord Branded as it is using Discord in the game?

#

At this point, I have a special function in my code to only get alpha and numeric characters for display as I don't have the rest of the unicode characters used by Discord to decorate people's names and be contained in the messages

knotty birch
dark dragon
#

on new sdk nice

jade spear
astral raft
#

I had to make a couple of calls to the Discord Server API via HTTP in my Unreal Engine C++ project. I know there is a D++ project that provides C++ functionality to most of the Discord related Server interaction. I have some questions before doing anymore with this.

#

First question, is there a D++ plugin for Unreal Engine? If not, should I just wrap it and make my own plugin?

#

Second question, should I just continue to make my own URL based http request to the Discord Server and skip the whole D++ approach?

#

Basically, is it just better to call the server api via URL for what I need or should I go through the process of adding D++ to UE and my project?

knotty birch
astral raft
knotty birch
astral raft
knotty birch
#

youd wanna check their reference/github or ask in their discord server

#

if you already have it working, theres only a few API endpoints youd need to support

astral raft
#

The more I think about it, I know how to make the calls now .... so maybe messing with D++ just adds another level of complexity I really don't need. Like you said, I already know how to get it via the API endpoints. I will run this all by the Discord Social SDK team once I have the whole thing set up, along with the tutorials, before releasing it to the public.

marble nest
#

can someone help me please

rose beacon
sharp boneBOT
#

This server is for help with Discord APIs, SDK and other various integrations. For general support, please contact Discord at https://dis.gd/contact, or send us a message on Twitter at @discord_support

solemn lark
grizzled path
#

I'm trying to launch a steam game with an invite, but not sure if this format is correct? It just get's stuck after I press a join button after requesting it from the another user.

Discord->Client->RegisterLaunchCommand(APPLICATION_ID, "steam://rungameid//1234567");

Also tried:

Discord->Client->RegisterLaunchCommand(APPLICATION_ID, "steam://rungameid/1234567");

Using unreal btw.

spring wharf
#

hey, so recently discord striked my account and logged me out and to log back in i have to verify with my phone number but i dont have access to that number anymore, any help on what i can do

static oak
#

!support

sharp boneBOT
#

This server is for help with Discord APIs, SDK and other various integrations. For general support, please contact Discord at https://dis.gd/contact, or send us a message on Twitter at @discord_support

jade spear
cerulean trellis
#

For the voice chat stuff in the SDK, is there a way of joining a lobby call on a server-ran bot account or something? Being able to directly store audio sent in those lobbies like that would be good for moderation purposes (with explicit user consent, discarding audio when it's no longer needed, following GDPR etc).

#

I would implement a clientside function that sends the data to the discord API and a server separately, but I'm concerned about users tampering with their clients to remove that

grizzled path
jade spear
wanton island
#

sorry if this is the wrong chat, but how do I get rid of this ad?I have cancelled this multiple times, but it continues to show up even when Im not interested

static oak
#

!support

sharp boneBOT
#

This server is for help with Discord APIs, SDK and other various integrations. For general support, please contact Discord at https://dis.gd/contact, or send us a message on Twitter at @discord_support

half fulcrum
#

Gang we need to solve a crew with a mystery

grizzled path
#

Okey the missing part was this, now it works

nocturne chasm
#

anyone had crashes when trying to set images, urls and image texts in ue5 and did you find a way to avoid them?

this is what my dump seems to be crashing at:

Discord_String LargeImage__span;
FTCHARToUTF8 LargeImage__convert(LargeImage);
LargeImage__span.ptr = (uint8
)LargeImage__convert.Get();
LargeImage__span.size = LargeImage__convert.Length();
Discord_ActivityAssets_SetLargeImage(&instance, &LargeImage__span);

copper sun
#

Hello world peeposaber

icy compass
icy compass
jade spear
rancid lotus
#

Can anyone make me a discord server

#

Or tell me where to ask about it

ruby igloo
sharp boneBOT
#

This server is for help with Discord APIs, SDK and other various integrations. For general support, please contact Discord at https://dis.gd/contact, or send us a message on Twitter at @discord_support

wraith surge
#

Hello everyone, how do I get access to the social-sdk if I'm not associated with a company? I want to develop a rich presence feature for a open-source project.

tranquil robin
#

@wraith surge you do not need to be associated with a company

wraith surge
#

Then what do I put in the form?

tranquil robin
#

ig you can just put N/A etc

wraith surge
#

can you still use the sdk without doing this step?

tranquil robin
#

you need to fill out the form to access the sdk download

#

but you could also use third-party discord rpc libraries instead of the sdk

wraith surge
#

ok thanks

elder lintel
#

Guys how to make rp game

wraith surge
#

Also for an open-source project which would you recommend, the discord social sdk or the legacy game sdk?

icy compass
tranquil robin
dry hull
opal silo
#

!report

sharp boneBOT
#

This server is for help with Discord APIs, SDK and other various integrations. To make a report to the Trust and Safety team, please use the in app reporting tool. For more information see this help article.

opal silo
#

@dry hull pinging random staff members is not an applicable alternative to the proper report flows ^

true spade
#

Idk if this is off topic at all

#

But how do you get into app development

#

Not even just specifically for discord

#

I want to get into that or quant development but I wanna see how someone done it

trail island
#

Is the social sdk supposed to be added to the server side of a game or client side

dawn nimbus
#

Hi folks!
Could someone clarify - if I want to use the button "Join" in the RPC, would it be possible for the user who is trying to join the game to get access to invite information in game without OAuth?

So is it possible to get from anywhere the needed information to join the lobby which secret and id was specified in invite after launching a game? Is ActivityInvite accessible in this case somehow?

true spade
#

If im wrong someone please correct me

dawn nimbus
# true spade No it ainโ€™t possible to access the join information from anywhere without the us...

Thanks for the answer!
In my case, I want to get this information after the user interacts with the โ€œJoinโ€ button. So the expected flow looks something like this:

The player clicked the โ€œJoinโ€ button -> the game launches -> the game automatically joins the correct lobby using the specified party ID and secret (from discord invite).

Is this flow impossible without OAuth?

true spade
#

Ah i see

#

Itโ€™s possible because when a user clicks Discords โ€œJoinโ€ button, Discord directly launches the game and passes the joinSecret which then lets the game connect to the lobby without even needing OAuth for it

#

This isnโ€™t really my space but thats to the best of my understanding!

#

Itโ€™s possible without OAuth

dawn nimbus
#

Hm, thanks, sounds good ๐Ÿ™‚
But in this case, how can I get the party ID and secret in-game? By โ€œlobby,โ€ I mean the in-game lobby, so I need this invite information (Party ID and secret) to perform the necessary actions inside the game.

#

I found functions SetActivityInviteCreatedCallback and AcceptActivityInvite for this purposes, but I wasn't sure that it will work without OAuth

dawn nimbus
#

Upd: it looks like the event registered via SetActivityInviteCreatedCallback on the start of the game isnโ€™t fired after launching the game using the โ€œJoinโ€ button. But I might be doing something wrong.

knotty birch
wraith surge
#

How do I make a music rich presence similar to the one Spotify has?

uncut carbon
#

wooow

jovial goblet
#

great

fair wave
#

is not successful?

full iron
#

Could we ever consider making setter methods return *this instead of just being void? I would like to be able to method chain

nocturne chasm
#

is there any way of bypassing the sdk for example in unreal through a direct endpoint and some json payload, as setting images and texts seems to be causing hard crashes even in the newest version of the sdk.

static oak
#

The endpoints are not documented

#

If the sdk doesn't work, please file a bug report on gothub about it so it can be fixed

nocturne chasm
#

Do you have a link to the github page?

#

can only find social-sdk-unity-sample under discord in github.

static oak
#

You can report it on the api docs

#

Same as api bugs

nocturne chasm
#

thanks for the help, i have reported it there now!

#

Okay the crash was my error, will add it to the thread if someone else has similar issues.

jade spear
jade spear
#

The latest lobby and invite code is now in the main branch of our sample! If you joined yesterday for our lobby and invite event we still have our survey open for feedback which helps us plan future events and prioritize new features eyeshake

dark kite
#

is there unity c# docs for SetActivityJoinCallback()?

woven token
# dark kite is there unity c# docs for SetActivityJoinCallback()?

Should be similar to C++ version, it takes single argument and its callback that takes a string with Rich Presence join secret
https://discord.com/developers/docs/discord-social-sdk/development-guides/managing-game-invites#accepting-game-invites

private void OnActivityJoin(string joinSecret)
{
    if (client == null)
        return;

    // joinSecret is pulled from the host's Rich Presence ActivitySecrets.
    // Use the joinSecret to connect the players in your game.

    Console.WriteLine("Joined an Activity!");
}

...

client.SetActivityJoinCallback(OnActivityJoin); // register activity join callback on Slayer SDK client
winter creek
#

where do I look to find how to add to the recent activity tab?

tough slate
#

aws...

granite trellis
#

Does anyone have a code for a fivem bot with all the stuff?

shut jetty
granite trellis
static oak
#

This server isnt fivem related at all

granite trellis
#

Do you have a server related to fivem bot programming?

static oak
#

Use server discovery or server lists to find one

boreal owl
#

Hello the new maj is insane

marsh iron
#

Discord needs to make a way to organize servers bc iโ€™m in too many servers and theyโ€™re all over the place๐Ÿ’”

shut jetty
#

They do? Folders have existed for a long time

jagged slate
rich ocean
#

Why canโ€™t we view others orb badge

dull obsidian
clever thistle
#

Hi, I've been working on an opensource java library that calls the discord social sdk so that java based games can use it. I am not including the sdk in the repo, so it shouldn't violate TOS. Games will still need to provide it.

Right now the repo is private, but if a mod wants to take a look before I make it public, let me know. Its still in very early stages but currently can create/join voice lobbies. Open to feedback as well ๐Ÿ™‚

rose beacon
bleak plank
bleak plank
#

Do they have docs on their webrtc protocol? We use webrtc extensively in my job already. If they had an http api that let me join a voice channel as a user actively, I would be using that instead >.<

static oak
#

what you're asking just isn't possible, you can't send users or voice data as a user

#

best you can do is use a bot to send the messages

#

you can ignore what mr anderson said, none of it is relevant

bleak plank
static oak
#

there is some sdk stuff to send dms but afaik it can't send messages on servers, and sending voice on their behalf doesn't work

#

you have stuff to let a user join a voice channel, but you can't send the voice data on their behalf

bleak plank
#

Am I reading the client SDK incorrectly then? Or is the voice support only for ephemeral lobbies created using the sdk?

static oak
#

yes, i don't think it works with voice channels in servers

bleak plank
static oak
#

you can send voice, but only for your bot account

#

you can't send it on behalf of users through their account

bleak plank
#

Gotcha, okay. So theoretically, could mux all incoming audio streams and pipe through the bot. I appreciate the help, we may end up contacting discord staff directly to see if there is an integration we can create, but this info has been extremely valuable

static oak
#

the sdk isn't for making an discord replacement client, its to make games integrate with discord

bleak plank
#

Unfortunately, we aren't trying to make a replacement client, but discord prevents embedding their official client into a widget/iframe, so we have no other choice

bright rune
#

#rules : no advertising allowed

zealous forge
#

How can i get the DEV thing on my profile;

#

<@&1050493473033289778>

languid bloom
#

Please don't ping us for non-urgent issues

tight aspen
zealous forge
#

Where is that

#

@tight aspen

tight aspen
carmine tree
quartz plinth
#

Is there a way to get access to the Discord Social SDK for creating bindings to it in another language or is it only accessible for active game developers?

surreal bramble
#

Another programing language?

#

@quartz plinth

quartz plinth
frigid gorge
silk pasture
#

Hello, is there a way to check withing the SDK itself if discord is open before initializing the SDK ?

cedar ravine
#

Yes, Iโ€™ve handled that before you can check if Discord is running before initializing by verifying the connection status first. Itโ€™s a quick fix once set properly.

regal bolt
#

the setup is simular in python but you will have to re-write the wrapper in python

bitter vessel
#

for rich presence I'm guessing the join secret should be the lobby id (which is used to join) then the party id should be something different but unique such as the lobby owner's id right? ๐Ÿค”

icy compass
spice falcon
#

Honestly

minor veldt
icy compass
modest prairie
#

Hello may you guys help me to find good website to buy cheap domain

dull obsidian
polar dune
#

Who can help me

#

About my game

tulip osprey
#

What is sdk?

shut jetty
tulip osprey
shut jetty
#

i highly doubt it

#

but i dont know

tulip osprey
#

Okay

iron meteor
#

How does an anti nuke bot stops spam nukes and raids how does it work

shut jetty
strange glen
#

It seems that they are redoing the documentation

icy compass
strange glen
robust cloud
#

Omg! I miss event. ๐Ÿ™

opal silo
robust cloud
#

Oh, good!

cold swallow
#

I am interested in using the Discord Social SDK in a game I'm developing and I have a few questions:

  1. does the Discord Social SDK handle regulatory requirements such as the age verification required by some countries for the features it provides or do I have to handle it separately?
  2. what are the minimum system requirements for the Discord Social SDK?
shut jetty
#

what specific ID verification is needed for having oauth integration and a shared friends list?

#

i also dont think there are system requirements for the sdk...as its just a toolkit for integrations between discord and your game

cold swallow
#

Like DMs and lobbies for example.

cold swallow
#

To clarify, I meant the age verification regulations imposed by some countries to access social media. So what I'm asking is if the Discord Social SDK performs age verification when a player creates either a full or provisional account. Or is it my responsibility to do such age verification for the ingame chat features provided by the Discord Social SDK. Specifically, the DM and lobby features. Since by definition they can be considered "social media" by the laws of some countries.

icy compass
#

-# nobody saw anything

frigid gorge
#

only requirements so far are x86_64 unless on mac which is provided as a fat binary for both x86_64 and aarch64. the library is distributed as a elf on linux but it's still only x64 there

quartz plinth
#

Is there any way to utilize the social sdk with languages doesn't support the cpp ABI? (in my case, rust) cdiscord.h doesn't seem to allow discord client creation

#

Atleast I have not figured out a way to create a client with the C headers

#

Never mind, forgot how sdks which are normally cpp for c works ๐Ÿคฆ

for anyone else having the same issue this is the general structure for doing it in rust:

fn main() {
    unsafe {
        let mut client: MaybeUninit<Discord_Client> = MaybeUninit::uninit().assume_init();

        Discord_Client_Init(client.as_mut_ptr());
    }
}
icy compass
#

I've been meaning to sit down at some point and play with this, but haven't had time manatee_sad

quartz plinth
quartz plinth
#

What's the general rules for creating wrappers on the social sdk, other than not redistributing the download (aka making the user provide their own sdk installs)

#

I thought I'd make a rust one since I'm going to use it in rust myself

icy compass
quartz plinth
limpid dock
#

Has anyone ran into an issue where they set a Rich Presence, but it immediately gets removed, even though the game is still running?

jade spear
limpid dock
# jade spear I haven't seen that, can you share the code you're using to set Rich Presence?

it's just this

        public void SetRichPresence(string details = null, string state = null)
        {
            if (client == null || !isInitialized)
            {
                Debug.LogWarning("[DiscordService] Cannot set rich presence - not initialized");
                return;
            }

            Debug.Log($"[DiscordService] Setting rich presence: details='{details}', state='{state}'");

            var activity = new Activity();
            activity.SetName("Abysswalkers");
            activity.SetType(ActivityTypes.Playing);
            if (details.IsNotNullOrEmpty())
            {
                activity.SetDetails(details);
            }
            if (state.IsNotNullOrEmpty())
            {
                activity.SetState(state);
            }
            activity.SetSupportedPlatforms(ActivityGamePlatforms.Desktop | ActivityGamePlatforms.IOS | ActivityGamePlatforms.Android | ActivityGamePlatforms.PS5);

            client.UpdateRichPresence(activity, (result) =>
            {
                if (!result.Successful())
                {
                    Debug.LogWarning($"[DiscordService] Failed to update rich presence: {result.Error()}");
                }
                else
                {
                    Debug.Log("[DiscordService] Rich presence updated successfully");
                }
            });
        }

but if I call it later in the game then it works fine... it seems to be either a race condition, or some other library in my game which might be also trying to set it somehow? I think steamworks does this for Steam games to show up automatically?

jade spear
icy compass
icy compass
limpid dock
#

fwiw, that last sentence sounds sarcastic. I swear to god it's not

icy compass
#

it might end up RPC'ing instead.

limpid dock
grizzled ether
#

Hey! Is there any way to set state_display_type with the Game SDK?

#

The "Clicking circles" part

icy compass
grizzled ether
#

The social Sdk isn't available for x86 architecture ๐Ÿ˜”

tranquil robin
tranquil robin
#

the state gets moved into the tags section if you set party data i think

grizzled ether
#

Mmmm i'll take look at it, thank you!

grizzled ether
#

(using the very old discord-rpc solved the issue lol)

icy compass
grizzled ether
#

i'm making hooks for a list of games and one of them is in 32bit

hearty magnet
ionic kernel
#

I'm trying to minimize the oauth scopes for my integration, which only sets game activity (no invites or anything). I don't need anything really beyond activities.write. Do I have to use auto scopes = discordpp::Client::GetDefaultPresenceScopes(); or can I use less? I'd prefer to only have the write permission args.SetScopes("activities.write");, but I always get login failures.

Authentication Error: OAuth2 Error: invalid_scope: The requested scope is invalid, unknown, or malformed.

In the list of scopes I don't even see openid or sdk.social_layer_presence . It also says activitites.write is not able to be used by apps (is this just for bots?) The social layer precense has 4 items and I don't want to scare off users.

shadow gull
#

Hi,

i'm integrating social sdk into my unity game. I want to get the access token and refresh tokens on my backend after getting the initial code from the client unity sdk.
Wondering how people are storing their access/refresh tokens. I can think of these options:

  1. store refresh token on server then request and send a new access token to client everytime the unity client connect to my backend. access token is only stored in memory in the client.
  2. store access token in client and refresh token on the server. Client checks if access token has expired and requests a new one from server which requests it from discord using refresh token.
  3. access token and refresh token are stored on the client. Some basic encryption to obfuscate it. Is this a security risk?

Thanks for any help or advice.

shadow gull
burnt lake
#

hello i do have a question regarding the SDK
it seems like it is on x64 version. is there x86 version that can be downloaded

tranquil robin
#

I believe it's 64 bit only, like Discord

heady tulip
#

Is the SDK not supported for HTML5 games yet?

tranquil robin
#

the social sdk is for desktop/web/console games, i dont think there are any plans to support web games

heady tulip
#

What about desktop games that use web tech, eg Tauri/NWJS/Electron?

static oak
#

Just by the nature of what they are it makes no difference

#

Thise frameworks would need to integrate it and expose bindings to access it

#

So then you're in the realm of custom plugin wrappers for each individual tech

storm ledge
#

Hello, Can Discord's API service connect to any Discord channel, read channel chat records, and post chat messages?

static oak
#

A bot can use the http api to read and send messages in in channel its bot user has been given permission by server admins. But thats separate entirely from the sdk

fossil jacinth
#

Is it possible to use the social sdk and when a player authenticates to get invited to your private server?

static oak
icy compass
full iron
#

Will there ever be Godot C# bindings for the Social SDK?

#

Not aware if you can use the Unity bindings on Godot

icy compass
full iron
icy compass
#

But apprecite the feedback!

#

Are there issues with the community wrapper?

full iron
#

Haven't tried it yet, and I don't know whether or not it can be called from C#

icy compass
copper sun
#

Hey guys, is there a chat here where you can share a tool I wrote on GitHub?

shut jetty
copper sun
full iron
#

The Social SDK doesnโ€™t use exceptions, does it?

#

Ah, doesnโ€™t look like it

carmine scarab
full iron
#

The C++ one

carmine scarab
carmine scarab
stable widget
#

In the Android SDK v 1.5+, i noticed that when a user closes the webview login flow using the close button, no result or callback is returned to the app. In the earlier version close webview or cancel auth was provided in that case to with discordpp::Client::AuthorizationCallback.

could you confirm whether that change is intentional in v1.5+ ?

rose fiber
static oak
atomic owl
#

Hi, I'm curious if there's an example implementation for joining through activity in Unreal Engine?

jade spear
iron current
#

@static oak I have a question.

icy compass
jolly sedge
#

Does the social sdk support gamemaker

#

?

sullen lynx
jolly sedge
#

What does the social sdk do exactly?

sullen lynx
#

-Friends list inside the game

#

-Game invites (send/receive through Discord or in-game)

#

-Rich Presence (shows what the player is doing)

#

-In-game chat & voice using Discordโ€™s network

#

-Cross-platform messaging between game and Discord

#

it gives your game built in social, chat, voice, and friend features powered by Discord without making you build them from scratch.

jolly sedge
#

That will be so useful

#

Specially bc I'm planning on adding 2 player online coop to my game

tender dust
#

lowkey bored

atomic owl
#

Hi all, does someone know what specific scopes are required for game invites/join? I can see the callback for when another user sends a join request, but not getting the callback for local join attempt(I think this should be called after the invite has been accepted?)

If someone can point me to the docs or knows the scopes, I would be super grateful!

jade spear
icy compass
atomic owl
#

Thank you team! So it turns out that the callbacks are working, just not how I expected them to. Iโ€™m still exploring, but Iโ€™m pretty close to the goal now

atomic owl
zinc trail
#

Awesome! Love to see how far you've gotten! Hope you continue to update us, goodluck!

atomic owl
#

Thank you!

sharp barn
#

just saw a Marvel Rivals now has the official Discord connection and thats really great thing to finally have!

when I created couple of projects - our team decided to make a similar integrations with Dota 2 statistics and Genshin Impact

sharp barn
#

thats how we made Dota 2 statistics back in 2023:

sharp barn
#

and here's Genshin one made by my friend Livixx

shrewd quarry
#

๐Ÿ™‚

tulip dawn
#

is it possible to host an activity on https://domain1.com but call wss://subdomain.domain2.net

static oak
delicate sapphire
#

Hello everyone. I recently started implementing Rich Presence in our game via the Social SDK. Is there anyway to setup localization of the Rich Presence strings (like one Steam Rich Presence) ?

woven token
#

Unfortunately it's not supported here

delicate sapphire
#

I see, I'll stick to english for the time being. Thank you!

icy compass
north junco
#

Is this a bug? I've restarted Unity multiple times and it's still there. (Unity 6.21)

north junco
#

I don't know why Unity can't recognize this DLL; I can't find it in the assemblies either.

jade spear
sudden lava
icy compass
# sudden lava

why would you want channel history in your game client?

sudden lava
bleak harbor
#

Is it possible to use the social sdk and when a player authenticates to get invited to your private server?

tepid forge
#

Well all i did was deleting my old project and load the last saved checkpoint

#

After that i had full scces agaib... yet my app has no text chat ai anymore even though the code is finebattery_low

north junco
tepid forge
#

i agree xD

jade spear
modest prairie
#

Hello everybody

prisma cedar
#

Hey Guys quick question about logins: Do I need to include 'Log in with Discord'? Or is it okay to have users log in with my own system first and then connect their Discord?

icy compass
prisma cedar
#

Ok thanks that's perfect ๐Ÿ˜Š makes it more easy for me to manage user data

mental oyster
outer venture
#

I have a game app that I am really trying to integrate player webcams and share screens. It is quite common for players to join a Discord group channel and share screens, but integrating that into my app, would be a huge boost to UX. I know this is currently not possible, just wanted to reach out regarding my use case as requested by @jade spear during the Unity stream. Would be happy to discuss in detail.

cyan oriole
#

so with Discord's Social SDK, is it possible to get some button URLs to show when someone highlights your profile?

#

basically im trying to get buttons like this.
this one appeared when i highlighted on the voice channel and it showed what i was doing

#

im simply just trying to make a button that links to the steam page when they highlight the voice channel activity

#

so if someone is playing it in a voice call with multiple people, and someone looks at the call, they can get the game info there

#

was asking because i was hoping it was possible to use it with social sdk with unity

prisma cedar
#

Ok one last question is this logo quality okay? I read that it needs to be high quality, but I can't find a way to get a better quality right now.

cyan oriole
#

looks nice, dunno what requirements youre trying to hit

cursive swan
wispy flare
#

is it safe to publish Application ID of my application?

merry fern
#

i believe its the pixel scale you are making the logo at, thats affecting the quality. if you are using 500x500 it would do this when you try to scale it bigger

craggy token
#

hello please tell me where to use activity party and activity secret and how to know is it working or not? private void SetupRichPresence()
{
Activity activity = new Activity();
activity.SetApplicationId(discordApplicationID);
activity.SetState(richPresenceState);
activity.SetType(ActivityTypes.Competing);
activity.SetDetails(richPresenceDetails);

        var activityParty = new ActivityParty();
        activityParty.SetCurrentSize(5);
        activityParty.SetMaxSize(7);
        activityParty.SetId("ghvy7834bsdc78ahv78");
        activity.SetParty(activityParty);

        var activityAsset = new ActivityAssets();
        activityAsset.SetLargeImage("comical_white_persian");
        activityAsset.SetLargeText("Cat King");
        activityAsset.SetSmallImage("comical_white_persian");
        activityAsset.SetSmallText("Hello king");
        activityAsset.SetLargeText("Override");

        activity.SetAssets(activityAsset);

        var activityTimeStamp = new ActivityTimestamps();
        activityTimeStamp.SetStart(richPresenceStartingTime);
        activityTimeStamp.SetEnd(richPresenceEndTime);
        activity.SetTimestamps(activityTimeStamp);

        var activitysecrect = new ActivitySecrets();
        activitysecrect.SetJoin("Please join");
        activity.SetSecrets(activitysecrect);

        client.UpdateRichPresence(activity, OnUpdateRichPresenceFinish);
    }
craggy token
#

why there is no join button in my rich presence in discord?

sleek idol
#

U ok

static oak
#

but you can't see it on yourself

craggy token
#

oh sorry i thought it will be visible for myself also

static oak
#

that would have saved a lot of people that same confusion yes. but no buttons don't show for yourself

craggy token
#

but how to know is some one joined through the button ?

#

and where the party size and number of current party size will be shown?

#

means this line of code var activityParty = new ActivityParty();
activityParty.SetCurrentSize(5);
activityParty.SetMaxSize(7);
activityParty.SetId("ghvy7834bsdc78ahv78");
activity.SetParty(activityParty);

atomic owl
#

Hi, is android supported for social sdk?

icy compass
atomic owl
tender fjord
#

Anyone know if CreateOrJoinLobbyWithMetadata (C# unity) works to set the CanLinkLobby flag. I'm still getting: onLinkChannelToLobby: ErrorType: 2 ErrorCode: 50241 HttpStatusCode: 403 Error: User does not have the necessary lobby permissions to perform this action"

icy compass
prisma cedar
#

I have an Small Question is there an API Call to Link an Lobby to an Channel for Backends? Since in the Server APIs Docs i cant find it :/

icy compass
icy compass
tender fjord
#

I ended up using:

prisma cedar
tender fjord
#

Sorry wrong code:

#

var token = "bot token off website"

    string URL = $"https://gaming-sdk.com/api/v9/lobbies/{lobbyId}/members/{idd}";
    string data = @"{""flags"":1}";
            

    HttpWebRequest request = (HttpWebRequest)WebRequest.Create(URL);
    request.Headers.Add("Authorization", "Bot "+token);
    
    
    //request.Headers.Add("Authorization", "Bearer "+_BearerToken);
    request.UserAgent = "Bot FGIntegration v1";
    request.ContentType = "application/json";
    request.Method = "PUT";
    request.ContentLength = data.Length;
    StreamWriter requestWriter = new StreamWriter(request.GetRequestStream(), System.Text.Encoding.ASCII);
    requestWriter.Write(data);
    requestWriter.Close();
    
    try
    {
        // get the response
        WebResponse webResponse = request.GetResponse();
        Stream webStream = webResponse.GetResponseStream();
        StreamReader responseReader = new StreamReader(webStream);
        string response = responseReader.ReadToEnd();
        Helpers.FgLogging(Helpers.LogLvl.Info, $"response9231849809 ----- {response}");
        responseReader.Close();
    }
    catch (WebException we)
    {
        Helpers.FgLogging(Helpers.LogLvl.Info, $"except-----{we.Message}");
        string webExceptionMessage = we.Message;
    }
    catch (Exception ex)
    {
        Helpers.FgLogging(Helpers.LogLvl.Info, $"except-----{ex.Message}");
        // no need to do anything special here....
    }
#

Only works with Bot token and not the Bearer token. That was a bit of a bummer.

atomic owl
prisma cedar
#

i'm back ๐Ÿ˜… have an small question how to fix this and what exactly does it mean?

[4] [2025-12-16 17:58:26.243] [3184] (api_client.cpp:40): POST to https://gaming-sdk.com/api/v9/lobbies/1450532499292688560/messages failed. Error: HTTPStatus: 401 ResponseBody: {"message": "401: Unauthorized", "code": 0}