Skip to content

Commit ca5c751

Browse files
hammerdrshaydewael
andcommitted
[Guild Member] Adds documentation for GuildMember.flags (discord#5874)
Co-authored-by: shay <[email protected]>
1 parent 31d86be commit ca5c751

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/resources/Guild.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,7 @@ A partial [guild](#DOCS_RESOURCES_GUILD/guild-object) object. Represents an Offl
347347
| premium_since? | ?ISO8601 timestamp | when the user started [boosting](https://support.discord.com/hc/en-us/articles/360028038352-Server-Boosting-) the guild |
348348
| deaf | boolean | whether the user is deafened in voice channels |
349349
| mute | boolean | whether the user is muted in voice channels |
350+
| flags | integer | [guild member flags](#DOCS_RESOURCES_GUILD/guild-member-object-guild-member-flags) represented as a bit set, defaults to `0` |
350351
| pending? | boolean | whether the user has not yet passed the guild's [Membership Screening](#DOCS_RESOURCES_GUILD/membership-screening-object) requirements |
351352
| permissions? | string | total permissions of the member in the channel, including overwrites, returned when in the interaction object |
352353
| communication_disabled_until? | ?ISO8601 timestamp | when the user's [timeout](https://support.discord.com/hc/en-us/articles/4413305239191-Time-Out-FAQ) will expire and the user will be able to communicate in the guild again, null or a time in the past if the user is not timed out |
@@ -371,6 +372,15 @@ A partial [guild](#DOCS_RESOURCES_GUILD/guild-object) object. Represents an Offl
371372
}
372373
```
373374

375+
###### Guild Member Flags
376+
377+
| Flag | Value | Description | Editable |
378+
| ----------------------------------------| ------ | ------------------------------------------------------------- |---------------------|
379+
| DID_REJOIN | 1 << 0 | Member has left and rejoined the guild | false |
380+
| COMPLETED_ONBOARDING | 1 << 1 | Member has completed onboarding | false |
381+
| BYPASSES_VERIFICATION | 1 << 2 | Member bypasses guild verification requirements | true |
382+
| STARTED_ONBOARDING | 1 << 3 | Member has started onboarding | false |
383+
374384
### Integration Object
375385

376386
###### Integration Structure

0 commit comments

Comments
 (0)