Skip to content

Commit 4b3190f

Browse files
panley01shaydewael
authored andcommitted
Document error code 30011 & managed field for channels (discord#5867)
1 parent ef99420 commit 4b3190f

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

docs/resources/Channel.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ Represents a guild or DM channel within Discord.
2424
| icon? | ?string | icon hash of the group DM |
2525
| owner_id? | snowflake | id of the creator of the group DM or thread |
2626
| application_id? | snowflake | application id of the group DM creator if it is bot-created |
27+
| managed? | boolean | for group DM channels: whether the channel is managed by an application via the `gdm.join` OAuth2 scope |
2728
| parent_id? | ?snowflake | for guild channels: id of the parent category for a channel (each parent category can contain up to 50 channels), for threads: id of the text channel this thread was created |
2829
| last_pin_timestamp? | ?ISO8601 timestamp | when the last pinned message was pinned. This may be `null` in events such as `GUILD_CREATE` when a message is not pinned. |
2930
| rtc_region? | ?string | [voice region](#DOCS_RESOURCES_VOICE/voice-region-object) id for the voice channel, automatic when set to null |

docs/resources/User.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ Create a new DM channel with a user. Returns a [DM channel](#DOCS_RESOURCES_CHAN
227227

228228
## Create Group DM % POST /users/@me/channels
229229

230-
Create a new group DM channel with multiple users. Returns a [DM channel](#DOCS_RESOURCES_CHANNEL/channel-object) object. This endpoint was intended to be used with the now-deprecated GameBridge SDK. DMs created with this endpoint will not be shown in the Discord client. Fires a [Channel Create](#DOCS_TOPICS_GATEWAY_EVENTS/channel-create) Gateway event.
230+
Create a new group DM channel with multiple users. Returns a [DM channel](#DOCS_RESOURCES_CHANNEL/channel-object) object. This endpoint was intended to be used with the now-deprecated GameBridge SDK. Fires a [Channel Create](#DOCS_TOPICS_GATEWAY_EVENTS/channel-create) Gateway event.
231231

232232
> warn
233233
> This endpoint is limited to 10 active group DMs.

docs/topics/Opcodes_and_Status_Codes.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ Along with the HTTP error code, our API can also return more detailed error code
171171
| 30007 | Maximum number of webhooks reached (10) |
172172
| 30008 | Maximum number of emojis reached |
173173
| 30010 | Maximum number of reactions reached (20) |
174+
| 30011 | Maximum number of group DMs reached (10) |
174175
| 30013 | Maximum number of guild channels reached (500) |
175176
| 30015 | Maximum number of attachments in a message reached (10) |
176177
| 30016 | Maximum number of invites reached (1000) |

0 commit comments

Comments
 (0)