Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into cleanup/nullability-a…
Browse files Browse the repository at this point in the history
…nd-other-things
  • Loading branch information
Lulalaby committed Sep 24, 2023
2 parents 36f2a6b + 6825d96 commit ca9f0a7
Show file tree
Hide file tree
Showing 10 changed files with 176 additions and 556 deletions.
1 change: 0 additions & 1 deletion DisCatSharp/Clients/DiscordClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1452,7 +1452,6 @@ private DiscordScheduledEvent UpdateScheduledEvent(DiscordScheduledEvent schedul
old.EntityId = scheduledEvent.EntityId;
old.EntityType = scheduledEvent.EntityType;
old.EntityMetadata = scheduledEvent.EntityMetadata;
old.PrivacyLevel = scheduledEvent.PrivacyLevel;
old.Name = scheduledEvent.Name;
old.Status = scheduledEvent.Status;
old.UserCount = scheduledEvent.UserCount;
Expand Down
10 changes: 0 additions & 10 deletions DisCatSharp/Entities/Guild/DiscordAuditLogObjects.cs
Original file line number Diff line number Diff line change
Expand Up @@ -735,11 +735,6 @@ public sealed class DiscordAuditLogStageEntry : DiscordAuditLogEntry
/// </summary>
public PropertyChange<string> TopicChange { get; internal set; }

/// <summary>
/// Gets the description of stage instance's privacy level change.
/// </summary>
public PropertyChange<StagePrivacyLevel?> PrivacyLevelChange { get; internal set; }

/// <summary>
/// Initializes a new instance of the <see cref="DiscordAuditLogStageEntry"/> class.
/// </summary>
Expand Down Expand Up @@ -783,11 +778,6 @@ public sealed class DiscordAuditLogGuildScheduledEventEntry : DiscordAuditLogEnt
/// </summary>
public PropertyChange<string> LocationChange { get; internal set; }

/// <summary>
/// Gets the privacy level change.
/// </summary>
public PropertyChange<ScheduledEventPrivacyLevel?> PrivacyLevelChange { get; internal set; }

/// <summary>
/// Gets the status change.
/// </summary>
Expand Down
665 changes: 175 additions & 490 deletions DisCatSharp/Entities/Guild/DiscordGuild.AuditLog.cs

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -123,12 +123,6 @@ public DateTimeOffset? ScheduledEndTime
[JsonProperty("scheduled_end_time", NullValueHandling = NullValueHandling.Ignore)]
internal string? ScheduledEndTimeRaw { get; set; }

/// <summary>
/// Gets the privacy level of the scheduled event.
/// </summary>
[JsonProperty("privacy_level", NullValueHandling = NullValueHandling.Ignore)]
internal ScheduledEventPrivacyLevel PrivacyLevel { get; set; }

/// <summary>
/// Gets the status of the scheduled event.
/// </summary>
Expand Down

This file was deleted.

Empty file.
20 changes: 0 additions & 20 deletions DisCatSharp/Enums/Guild/Stage/StagePrivacyLevel.cs

This file was deleted.

6 changes: 0 additions & 6 deletions DisCatSharp/Net/Abstractions/AuditLogAbstractions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -241,12 +241,6 @@ internal sealed class AuditLogGuildScheduledEvent
[JsonProperty("scheduled_end_time")]
public string ScheduledEndTime { get; set; }

/// <summary>
/// Gets the scheduled event privacy level.
/// </summary>
[JsonProperty("privacy_level")]
public ScheduledEventPrivacyLevel PrivacyLevel { get; set; }

/// <summary>
/// Gets the scheduled event status.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,6 @@ internal sealed class RestGuildScheduledEventCreatePayload : ObservableApiObject
[JsonProperty("description", NullValueHandling = NullValueHandling.Ignore)]
public string? Description { get; set; }

/// <summary>
/// Gets or sets the privacy level of the scheduled event.
/// </summary>
[JsonProperty("privacy_level")]
public ScheduledEventPrivacyLevel PrivacyLevel { get; set; }

/// <summary>
/// Gets or sets the time to schedule the scheduled event.
/// </summary>
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
- Partial support for role subscriptions
- Partial support for burst reactions
- Full support for onboarding
- Support for default select menu values (THANKS MAISY FOR ADDING IT TO DISCORD)

## Breaking

Expand Down

0 comments on commit ca9f0a7

Please sign in to comment.