You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/developer_tools/Embedded_App_SDK.mdx
+39Lines changed: 39 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -793,6 +793,7 @@ Developers may use the following events alongside the `subscribe()` SDK method t
793
793
|[ACTIVITY_LAYOUT_MODE_UPDATE](#DOCS_DEVELOPER_TOOLS_EMBEDDED_APP_SDK/activitylayoutmodeupdate)| Received when a user changes the layout mode in the Discord client |
794
794
|[ORIENTATION_UPDATE](#DOCS_DEVELOPER_TOOLS_EMBEDDED_APP_SDK/orientationupdate)| Received when screen orientation changes |
795
795
|[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 |
796
797
|[THERMAL_STATE_UPDATE](#DOCS_DEVELOPER_TOOLS_EMBEDDED_APP_SDK/thermalstateupdate)| Received when Android or iOS thermal states are surfaced to the Discord app |
797
798
|[ACTIVITY_INSTANCE_PARTICIPANTS_UPDATE](#DOCS_DEVELOPER_TOOLS_EMBEDDED_APP_SDK/activityinstanceparticipantsupdate)| Received when the number of instance participants changes |
798
799
|[ENTITLEMENT_CREATE](#DOCS_DEVELOPER_TOOLS_EMBEDDED_APP_SDK/entitlementcreate)| Received when an entitlement is created for a SKU |
@@ -977,6 +978,33 @@ Received when the current user object changes.
977
978
978
979
---
979
980
981
+
### CURRENT_GUILD_MEMBER_UPDATE
982
+
983
+
Received when the current guild member object changes.
984
+
985
+
#### Required Scopes
986
+
987
+
- identify
988
+
- guilds.members.read
989
+
990
+
#### Sample Event Payload
991
+
992
+
```javascript
993
+
{
994
+
"user_id":"7173771622812225536",
995
+
"nick":"beef_supreme",
996
+
"guild_id":"613425648685547541"
997
+
"avatar":"abcdefg",
998
+
"avatar_decoration_data": {
999
+
"asset":"abcdefg",
1000
+
"sku_id":"123456789"
1001
+
},
1002
+
"color_string":"#ffff00"
1003
+
}
1004
+
```
1005
+
1006
+
---
1007
+
980
1008
### THERMAL_STATE_UPDATE
981
1009
982
1010
Received when Android or iOS thermal states are surfaced to the Discord mobile app.
0 commit comments