Skip to content

Commit 2fe4e62

Browse files
authored
update pending on guild_members
pending won't be serialized if null, that's just it's internal value, so updating the type to only reflect what yall will see. true -> member is pending false -> member becomes no longer pending (i.e., becomes a regular member) not serialized -> member is not pending
1 parent e2d8052 commit 2fe4e62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/resources/Guild.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ A partial [guild](#DOCS_RESOURCES_GUILD/guild-object) object. Represents an Offl
260260
| premium_since? | ?ISO8601 timestamp | when the user started [boosting](https://support.discord.com/hc/en-us/articles/360028038352-Server-Boosting-) the guild |
261261
| deaf | boolean | whether the user is deafened in voice channels |
262262
| mute | boolean | whether the user is muted in voice channels |
263-
| pending? | ?boolean | whether the user has passed the guild's Membership Screening requirements |
263+
| pending? | boolean | whether the user has passed the guild's Membership Screening requirements |
264264

265265
> info
266266
> The field `user` won't be included in the member object attached to `MESSAGE_CREATE` and `MESSAGE_UPDATE` gateway events.

0 commit comments

Comments
 (0)