Skip to content

Commit 430355b

Browse files
authored
[activities] OPEN_INVITE_DIALOG can be called from Voice or Text (#7417)
channels
1 parent 6030e33 commit 430355b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/activities/Development_Guides.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ Users will see a modal inside the Discord app notifying them whether or not they
348348

349349
Getting an Application Channel Invite, as outlined in [these docs](https://discord.com/developers/docs/resources/invite#get-invite), is not granted by any OAuth scopes. Nonetheless, the `openInviteDialog` command is available via the SDK. This command opens the Application Channel Invite UI within the discord client without requiring additional OAuth scopes.
350350

351-
This command returns an error when called from DM (Direct Message) contexts, so should only be called in Guild Voice Channels. Similarly, this command returns an error if the user has invalid permissions for the channel, so using `getChannelPermissions` (requires OAuth scope `'guilds.members.read'`) is highly recommended.
351+
This command returns an error when called from DM (Direct Message) contexts, so should only be called in Guild Voice or Text Channels. Similarly, this command returns an error if the user has invalid permissions for the channel, so using `getChannelPermissions` (requires OAuth scope `'guilds.members.read'`) is highly recommended.
352352

353353
#### Usage
354354

0 commit comments

Comments
 (0)