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/resources/guild.mdx
+6-2Lines changed: 6 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -159,6 +159,7 @@ Fields specific to the `GUILD_CREATE` event are listed in the [Gateway Events do
159
159
| VERIFIED | guild is verified |
160
160
| VIP_REGIONS | guild has access to set 384kbps bitrate in voice (previously VIP voice servers) |
161
161
| WELCOME_SCREEN_ENABLED | guild has enabled the welcome screen |
162
+
| GUESTS_ENABLED | guild has access to guest invites |
162
163
| ENHANCED_ROLE_COLORS | guild is able to set gradient colors to roles |
163
164
164
165
###### Mutable Guild Features
@@ -359,7 +360,7 @@ The fields `id`, `discriminator` and `avatar` are anonymized to prevent abuse.
359
360
| avatar? | ?string | the member's [guild avatar hash](/docs/reference#image-formatting)|
360
361
| banner? | ?string | the member's [guild banner hash](/docs/reference#image-formatting)|
361
362
| roles | array of snowflakes | array of [role](/docs/topics/permissions#role-object) object ids |
362
-
| joined_at | ISO8601 timestamp| when the user joined the guild |
363
+
| joined_at |?ISO8601 timestamp | when the user joined the guild |
363
364
| premium_since? | ?ISO8601 timestamp | when the user started [boosting](https://support.discord.com/hc/en-us/articles/360028038352-Server-Boosting-) the guild |
364
365
| deaf | boolean | whether the user is deafened in voice channels |
365
366
| mute | boolean | whether the user is muted in voice channels |
@@ -377,6 +378,9 @@ The field `user` won't be included in the member object attached to `MESSAGE_CRE
377
378
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.
378
379
:::
379
380
381
+
> info
382
+
> Member objects retrieved from `VOICE_STATE_UPDATE` events will have `joined_at` set as `null` if the member was invited as a guest.
383
+
380
384
###### Example Guild Member
381
385
382
386
```json
@@ -1511,4 +1515,4 @@ Both `invites_disabled_until` and `dms_disabled_until` can be enabled for a maxi
1511
1515
| invites_disabled_until? | ?ISO8601 timestamp \*| when invites will be enabled again |
1512
1516
| dms_disabled_until? | ?ISO8601 timestamp \*| when direct messages will be enabled again |
Copy file name to clipboardExpand all lines: docs/resources/invite.mdx
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,7 @@ Represents a code that when used, adds a user to a guild or group DM channel.
25
25
| expires_at? | ?ISO8601 timestamp | the expiration date of this invite, returned from the `GET /invites/<code>` endpoint when `with_expiration` is `true`|
26
26
| 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) |
27
27
| 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 |
0 commit comments