Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
6d2ad23
Changed the description of GatewayClient to be more in line with .NET…
Red-K0 May 18, 2024
5ae9f85
id and Id standardized in documentation to ID. User.cs is a WIP.
Red-K0 May 18, 2024
0f889bf
Syntax updates for old documentation.
Red-K0 May 21, 2024
215c48f
User.cs and PartialGuildUser.cs fully documented.
Red-K0 May 21, 2024
20cf703
Flag Updates
Red-K0 May 21, 2024
12596dd
Full User Documentation
Red-K0 May 21, 2024
db24daf
Full documentation for RestMessage and MessageTypes.
Red-K0 May 22, 2024
847457a
Fixes for spelling mistakes in MessageTypes.cs
Red-K0 May 22, 2024
6c4583b
ImageUrl and GetUrl updates.
Red-K0 May 23, 2024
4bcebef
TeamRole.cs and TeamUser.cs documentation added.
Red-K0 May 23, 2024
079c995
Updated tests to account for GetUrl update.
Red-K0 May 23, 2024
4ea6aee
Changes to documentation styling.
Red-K0 May 23, 2024
306e545
Full documentation for RestGuild.cs
Red-K0 May 23, 2024
6b9eb8c
Finished documentation for Guild classes.
Red-K0 May 23, 2024
47b2599
Moved constructor for consistency.
Red-K0 May 23, 2024
5aa9869
Further updates to guild documentation.
Red-K0 May 23, 2024
b3ce51d
Full documentation for message classes.
Red-K0 May 23, 2024
d4fb487
Merge conflict fix.
Red-K0 Jun 6, 2024
10f32c0
Merge branch 'alpha' into alpha
KubaZ2 Jun 22, 2024
a58b8df
Applied all requested changes.
Red-K0 Jun 27, 2024
a28e202
Replaced `<` and `>` with entities.
Red-K0 Jun 27, 2024
7de2a15
Tag spacing fixes.
Red-K0 Jul 3, 2024
ba4e098
Removed hexadecimal indicator.
Red-K0 Jul 9, 2024
3fea5d4
Update NetCord/Rest/RestGuild.cs
KubaZ2 Jul 10, 2024
36f4d19
Update NetCord/Rest/RestGuild.cs
KubaZ2 Jul 10, 2024
4cdeb93
Merge branch 'alpha' into alpha
KubaZ2 Jul 10, 2024
e449e0a
Fix whitespace
KubaZ2 Jul 10, 2024
2d2275b
Removed `<see/>` tag from comment.
Red-K0 Jul 10, 2024
da338cb
Revert normal comment see tag
KubaZ2 Jul 10, 2024
4f44307
Capital letter in comment
KubaZ2 Jul 10, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions NetCord/ApplicationFlags.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,36 @@ namespace NetCord;
[Flags]
public enum ApplicationFlags : uint
{
/// <summary>
/// Undocumented.
/// </summary>
EmbeddedReleased = 1 << 1,

/// <summary>
/// Undocumented.
/// </summary>
ManagedEmoji = 1 << 2,

/// <summary>
/// Undocumented.
/// </summary>
EmbeddedIAP = 1 << 3,

/// <summary>
/// Undocumented.
/// </summary>
GroupDMCreate = 1 << 4,

/// <summary>
/// Indicates if an app uses the Auto Moderation API.
/// </summary>
ApplicationAutoModerationRuleCreateBadge = 1 << 6,

/// <summary>
/// Undocumented.
/// </summary>
RPCHasConnected = 1 << 11,

/// <summary>
/// Intent required for bots in 100 or more servers to receive <see cref="GatewayClient.PresenceUpdate"/> events.
/// </summary>
Expand Down Expand Up @@ -50,6 +75,11 @@ public enum ApplicationFlags : uint
/// </summary>
GatewayMessageContentLimited = 1 << 19,

/// <summary>
/// Undocumented.
/// </summary>
EmbeddedFirstParty = 1 << 20,

/// <summary>
/// Indicates if an app has registered global application commands.
/// </summary>
Expand Down
6 changes: 3 additions & 3 deletions NetCord/AuditLogEntryInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ public class AuditLogEntryInfo(JsonAuditLogEntryInfo jsonModel) : IJsonModel<Jso
JsonAuditLogEntryInfo IJsonModel<JsonAuditLogEntryInfo>.JsonModel => jsonModel;

/// <summary>
/// Id of the app whose permissions were targeted.
/// ID of the app whose permissions were targeted.
/// </summary>
public ulong? ApplicationId => jsonModel.ApplicationId;

Expand Down Expand Up @@ -37,7 +37,7 @@ public class AuditLogEntryInfo(JsonAuditLogEntryInfo jsonModel) : IJsonModel<Jso
public int? DeleteGuildUserDays => jsonModel.DeleteGuildUserDays;

/// <summary>
/// Id of the overwritten entity.
/// ID of the overwritten entity.
/// </summary>
public ulong? Id => jsonModel.Id;

Expand All @@ -47,7 +47,7 @@ public class AuditLogEntryInfo(JsonAuditLogEntryInfo jsonModel) : IJsonModel<Jso
public int? GuildUsersRemoved => jsonModel.GuildUsersRemoved;

/// <summary>
/// Id of the message that was targeted.
/// ID of the message that was targeted.
/// </summary>
public ulong? MessageId => jsonModel.MessageId;

Expand Down
8 changes: 4 additions & 4 deletions NetCord/Entitlement.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ public class Entitlement(JsonModels.JsonEntitlement jsonModel) : Entity, IJsonMo
public override ulong Id => jsonModel.Id;

/// <summary>
/// Id of the SKU.
/// ID of the SKU.
/// </summary>
public ulong SkuId => jsonModel.SkuId;

/// <summary>
/// Id of the parent application.
/// ID of the parent application.
/// </summary>
public ulong ApplicationId => jsonModel.ApplicationId;

/// <summary>
/// Id of the user that is granted access to the entitlement's SKU.
/// ID of the user that is granted access to the entitlement's SKU.
/// </summary>
public ulong? UserId => jsonModel.UserId;

Expand All @@ -42,7 +42,7 @@ public class Entitlement(JsonModels.JsonEntitlement jsonModel) : Entity, IJsonMo
public DateTimeOffset? EndsAt => jsonModel.EndsAt;

/// <summary>
/// Id of the guild that is granted access to the entitlement's SKU.
/// ID of the guild that is granted access to the entitlement's SKU.
/// </summary>
public ulong? GuildId => jsonModel.GuildId;

Expand Down
4 changes: 2 additions & 2 deletions NetCord/Gateway/AuditLogEntry.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public AuditLogEntry(JsonAuditLogEntry jsonModel)
public override ulong Id => _jsonModel.Id;

/// <summary>
/// Id of the affected entity.
/// ID of the affected entity.
/// </summary>
public ulong? TargetId => _jsonModel.TargetId;

Expand All @@ -35,7 +35,7 @@ public AuditLogEntry(JsonAuditLogEntry jsonModel)
public IReadOnlyDictionary<string, AuditLogChange> Changes { get; }

/// <summary>
/// Id of user that made the changes.
/// ID of user that made the changes.
/// </summary>
public ulong? UserId => _jsonModel.UserId;

Expand Down
Loading