Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Embedded App SDK doc for setOrientationLockState() #6759

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/developer_tools/Embedded_App_SDK.md
Expand Up @@ -493,15 +493,15 @@ Locks the application to specific orientations in each of the supported layout m

#### Required Scopes

- guilds.members.read
No scopes required

#### Usage

```js
await discordSdk.commands.setOrientationLockState({
lock_state: 'landscape',
picture_in_picture_lock_state: 'landscape',
grid_lock_state: 'unlocked'
lock_state: 3, // landscape
picture_in_picture_lock_state: 3, // landscape
grid_lock_state: 1 // unlocked
});
```

Expand Down