Skip to content

Commit 7ec90f9

Browse files
committed
Document CURRENT_GUILD_MEMBER_UPDATE
1 parent bf550ba commit 7ec90f9

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

docs/developer_tools/Embedded_App_SDK.mdx

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -793,6 +793,7 @@ Developers may use the following events alongside the `subscribe()` SDK method t
793793
| [ACTIVITY_LAYOUT_MODE_UPDATE](#DOCS_DEVELOPER_TOOLS_EMBEDDED_APP_SDK/activitylayoutmodeupdate) | Received when a user changes the layout mode in the Discord client |
794794
| [ORIENTATION_UPDATE](#DOCS_DEVELOPER_TOOLS_EMBEDDED_APP_SDK/orientationupdate) | Received when screen orientation changes |
795795
| [CURRENT_USER_UPDATE](#DOCS_DEVELOPER_TOOLS_EMBEDDED_APP_SDK/currentuserupdate) | Received when the current user object changes |
796+
| [CURRENT_GUILD_MEMBER_UPDATE](#DOCS_DEVELOPER_TOOLS_EMBEDDED_APP_SDK/currentguildmemberupdate) | Received when the current guild member object changes |
796797
| [THERMAL_STATE_UPDATE](#DOCS_DEVELOPER_TOOLS_EMBEDDED_APP_SDK/thermalstateupdate) | Received when Android or iOS thermal states are surfaced to the Discord app |
797798
| [ACTIVITY_INSTANCE_PARTICIPANTS_UPDATE](#DOCS_DEVELOPER_TOOLS_EMBEDDED_APP_SDK/activityinstanceparticipantsupdate) | Received when the number of instance participants changes |
798799
| [ENTITLEMENT_CREATE](#DOCS_DEVELOPER_TOOLS_EMBEDDED_APP_SDK/entitlementcreate) | Received when an entitlement is created for a SKU |
@@ -977,6 +978,32 @@ Received when the current user object changes.
977978

978979
---
979980

981+
### CURRENT_GUILD_MEMBER_UPDATE
982+
983+
Received when the current guild member object changes.
984+
985+
#### Required Scopes
986+
987+
- guilds.members.read
988+
989+
#### Sample Event Payload
990+
991+
```javascript
992+
{
993+
"user_id": "7173771622812225536",
994+
"nick": "beef_supreme",
995+
"guild_id": "613425648685547541"
996+
"avatar": "abcdefg",
997+
"avatar_decoration_data": {
998+
"asset": "abcdefg",
999+
"sku_id": "123456789"
1000+
},
1001+
"color_string": "ffff00"
1002+
}
1003+
```
1004+
1005+
---
1006+
9801007
### THERMAL_STATE_UPDATE
9811008

9821009
Received when Android or iOS thermal states are surfaced to the Discord mobile app.

0 commit comments

Comments
 (0)