Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion docs/resources/Guild.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ Guilds in Discord represent an isolated collection of users and channels, and ar
| VERIFIED | guild is verified |
| VIP_REGIONS | guild has access to set 384kbps bitrate in voice (previously VIP voice servers) |
| WELCOME_SCREEN_ENABLED | guild has enabled the welcome screen |
| GUESTS_ENABLED | guild has access to guest invites |

###### Mutable Guild Features

Expand Down Expand Up @@ -348,7 +349,7 @@ A partial [guild](#DOCS_RESOURCES_GUILD/guild-object) object. Represents an Offl
| nick? | ?string | this user's guild nickname |
| avatar? | ?string | the member's [guild avatar hash](#DOCS_REFERENCE/image-formatting) |
| roles | array of snowflakes | array of [role](#DOCS_TOPICS_PERMISSIONS/role-object) object ids |
| joined_at | ISO8601 timestamp | when the user joined the guild |
| joined_at | ?ISO8601 timestamp | when the user joined the guild |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is a breaking change that will cause issues for bots, shouldn't this be part of a new api version?

| premium_since? | ?ISO8601 timestamp | when the user started [boosting](https://support.discord.com/hc/en-us/articles/360028038352-Server-Boosting-) the guild |
| deaf | boolean | whether the user is deafened in voice channels |
| mute | boolean | whether the user is muted in voice channels |
Expand All @@ -363,6 +364,9 @@ A partial [guild](#DOCS_RESOURCES_GUILD/guild-object) object. Represents an Offl
> info
> In `GUILD_` events, `pending` will always be included as true or false. In non `GUILD_` events which can only be triggered by non-`pending` users, `pending` will not be included.

> info
> Member objects retrieved from `VOICE_STATE_UPDATE` events will have `joined_at: null` set on them if they were invited as a guest.

###### Example Guild Member

```json
Expand Down
7 changes: 7 additions & 0 deletions docs/resources/Invite.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Represents a code that when used, adds a user to a guild or group DM channel.
| expires_at? | ?ISO8601 timestamp | the expiration date of this invite, returned from the `GET /invites/<code>` endpoint when `with_expiration` is `true` |
| stage_instance? | [invite stage instance](#DOCS_RESOURCES_INVITE/invite-stage-instance-object) object | stage instance data if there is a [public Stage instance](#DOCS_RESOURCES_STAGE_INSTANCE) in the Stage channel this invite is for (deprecated) |
| guild_scheduled_event? | [guild scheduled event](#DOCS_RESOURCES_GUILD_SCHEDULED_EVENT/guild-scheduled-event-object) object | guild scheduled event data, only included if `guild_scheduled_event_id` contains a valid guild scheduled event id |
| flags? | integer | invite [flags](#DOCS_RESOURCES_INVITE/invite-object-invite-flags) |

###### Invite Target Types

Expand All @@ -28,6 +29,12 @@ Represents a code that when used, adds a user to a guild or group DM channel.
| STREAM | 1 |
| EMBEDDED_APPLICATION | 2 |

###### Invite Flags

| Flag | Value | Description |
| ----- | ------ | ----------------------------- |
| GUEST | 1 << 0 | this invite is a guest invite |

###### Example Invite Object

```json
Expand Down