-
-
Notifications
You must be signed in to change notification settings - Fork 733
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Feature] Add support for Guild Member Flags (#2571)
* implement `GuildUserFlags` Co-authored-by: Casmir <68127614+csmir@users.noreply.github.com>
- Loading branch information
Showing
11 changed files
with
80 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
namespace Discord; | ||
|
||
|
||
/// <summary> | ||
/// Represents public flags for a guild member. | ||
/// </summary> | ||
public enum GuildUserFlags | ||
{ | ||
/// <summary> | ||
/// Member has no flags set. | ||
/// </summary> | ||
None = 0, | ||
|
||
/// <summary> | ||
/// Member has left and rejoined the guild. | ||
/// </summary> | ||
/// <remarks> | ||
/// Cannot be modified. | ||
/// </remarks> | ||
DidRejoin = 1 << 0, | ||
|
||
/// <summary> | ||
/// Member has completed onboarding. | ||
/// </summary> | ||
/// <remarks> | ||
/// Cannot be modified. | ||
/// </remarks> | ||
CompletedOnboarding = 1 << 1, | ||
|
||
/// <summary> | ||
/// Member bypasses guild verification requirements. | ||
/// </summary> | ||
BypassesVerification = 1 << 2, | ||
|
||
/// <summary> | ||
/// Member has started onboarding. | ||
/// </summary> | ||
/// <remarks> | ||
/// Cannot be modified. | ||
/// </remarks> | ||
StartedOnboarding = 1 << 3, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters