Improve Discord activity status
This commit is contained in:
parent
0c646018c1
commit
90cea5c21d
|
@ -96,6 +96,11 @@ static void discord_populate_details(char* buffer, int bufferLength) {
|
|||
void discord_activity_update(void) {
|
||||
sCurActivity.type = DiscordActivityType_Playing;
|
||||
|
||||
strncpy(sCurActivity.assets.large_image, "characters", 128);
|
||||
strncpy(sCurActivity.assets.large_text, "sm64coopdx Characters", 128);
|
||||
strncpy(sCurActivity.assets.small_image, "icon", 128);
|
||||
strncpy(sCurActivity.assets.small_text, "sm64coopdx Icon", 128);
|
||||
|
||||
if (gNetworkType != NT_NONE && gNetworkSystem) {
|
||||
gNetworkSystem->get_lobby_id(sCurActivity.party.id, 128);
|
||||
gNetworkSystem->get_lobby_secret(sCurActivity.secrets.join, 128);
|
||||
|
|
Loading…
Reference in New Issue