diff --git a/src/Discord/Parts/User/Member.php b/src/Discord/Parts/User/Member.php index 6219a7b9f..99879a49e 100644 --- a/src/Discord/Parts/User/Member.php +++ b/src/Discord/Parts/User/Member.php @@ -54,7 +54,7 @@ * @property bool|null $pending Whether the user has not yet passed the guild's Membership Screening requirements. * @property RolePermission|null $permissions Total permissions of the member in the channel, including overwrites, returned when in the interaction object. * @property Carbon|null $communication_disabled_until When the user's timeout 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. - * @property int $flags Guild member flags. + * @property int $flags Guild member flags represented as a bit set, defaults to `0`. * @property string|null $guild_id The unique identifier of the guild that the member belongs to. * @property-read Guild|null $guild The guild that the member belongs to. * @@ -68,10 +68,11 @@ */ class Member extends Part { - public const FLAGS_DID_REJOIN = 0; - public const FLAGS_COMPLETED_ONBOARDING = 1; - public const FLAGS_BYPASSES_VERIFICATION = 2; - public const FLAGS_STARTED_ONBOARDING = 3; + public const FLAGS_DID_REJOIN = (1 << 0); + public const FLAGS_COMPLETED_ONBOARDING = (1 << 1); + public const FLAGS_BYPASSES_VERIFICATION = (1 << 2); + public const FLAGS_STARTED_ONBOARDING = (1 << 3); + /** * {@inheritDoc} */