discord / discord-api-docs

Official Discord API Documentation
https://discord.com/developers/docs/intro
Other
5.9k stars 1.25k forks source link

I'm not seeing Ask to Join buttons on my profile #6534

Open andresromerodev opened 10 months ago

andresromerodev commented 10 months ago

Description

Hi, I'm currently not seeing the 'Ask to Join' buttons on my players' profiles, and I wanted to inquire if this might be due to pending approval for my app. Could you please confirm if there is a need for me to apply for an approval process to enable these buttons?

This used to work but we had to create a new Discord app in the developer portal and now the buttons are missing and Discord does not seem to recognize the game to invite others.

Our game is built with Unity and I'm following the example in https://discord.com/developers/docs/game-sdk/activities#example-inviting-a-user-to-a-game

I also confirmed is not an issue on Discord side by running https://store.steampowered.com/app/370770/Holodrive/ which has a very good Discord integration and the Ask to Join buttons were displaying just fine.

Steps to Reproduce

https://discord.com/developers/docs/game-sdk/activities#example-inviting-a-user-to-a-game

Expected Behavior

I should see both "Ask to Join" button and an option within then "+" menu that allows me to invite players.

Current Behavior

None of the options are showing up.

Screenshots/Videos

screenshot_02

Client and System Information

Stable 245648 (758ffd2) Host 1.0.9024 x86 (39566) Windows 10 64-Bit (10.0.22621)

afgiel commented 10 months ago

can you include the json payload of your activity update? I want to inspect it

andreslunchbox commented 9 months ago

Thanks @afgiel, here is the JSON payload of the activity update:

{ "Type": 0, "ApplicationId": notarealappid, "Name": "Sirocco Closed Alpha", "State": "Editing party selections", "Details": "Hosting a party", "Timestamps": { "Start": 1702333652, "End": 0 }, "Assets": { "LargeImage": "sirocco_01", "LargeText": "", "SmallImage": "", "SmallText": "" }, "Party": { "Id": "86efcbc4-ef91-4248-8b50-34c8ffec64a2", "Size": { "CurrentSize": 1, "MaxSize": 10 }, "Privacy": 0 }, "Secrets": { "Match": null, "Join": "JW1TD3", "Spectate": null }, "Instance": true, "SupportedPlatforms": 0 }

andreslunchbox commented 8 months ago

@afgiel Thanks for your help! Did you have a chance to look into the JSON payload?