-
-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add clan (so sentry is not annoyed)
Closes #477
- Loading branch information
Showing
8 changed files
with
65 additions
and
0 deletions.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
using Newtonsoft.Json; | ||
|
||
namespace DisCatSharp.Entities; | ||
|
||
/// <summary> | ||
/// Represents a discord clan. | ||
/// </summary> | ||
public sealed class DiscordClan | ||
{ | ||
/// <summary> | ||
/// Gets the identity guild id. | ||
/// </summary> | ||
[JsonProperty("identity_guild_id")] | ||
public ulong IdentityGuildId { get; internal set; } | ||
|
||
/// <summary> | ||
/// Gets whether the identity is enabled and shown to everyone. | ||
/// </summary> | ||
[JsonProperty("identity_enabled", NullValueHandling = NullValueHandling.Ignore)] | ||
public bool IdentityEnabled { get; internal set; } | ||
|
||
/// <summary> | ||
/// Gets the clan tag. | ||
/// </summary> | ||
[JsonProperty("tag")] | ||
public string Tag { get; internal set; } | ||
|
||
/// <summary> | ||
/// Initializes a new instance of the <see cref="DiscordClan"/> class. | ||
/// </summary> | ||
internal DiscordClan() | ||
{ } | ||
} |
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