I’d really love the ability to send game invites directly through Discord with their rich presence feature, and it doesn’t seem too hard to implement.
I needed this feature the other day
Still waiting.
I want to bring attention to this feature.
You have 2 largest presence on internet, both on Discord.
This will eliminate a lot of unnecessary pain to gather party.
I want to specify realization.
Steam doesn’t support password in steam://joinlobby.
But add password hex encoding with prefix in lobby id.
steam://joinlobby/0000/0000_phexvalue/000/000
This is useful for 3rd party services.
For presence integration:
Check if activity in https://discord.com/developers/docs/game-sdk/activities#onactivityinvite contains join secret.
By default accepting invite must include lobby password.
I think it can be packed via joinSecret, hex: steam-lobby-id_lobby-password. Or simply store command joinlobby/0000/0000_phexvalue/000/000
.
Promoted users must have updated presence with this too.
https://discord.com/developers/docs/game-sdk/activities#updateactivity .
Also don’t forget to launch game with -nointro
option if user joining invite.