Skip to content

Commit

Permalink
feat: soundboard sounds object on message
Browse files Browse the repository at this point in the history
  • Loading branch information
Lulalaby committed Jan 23, 2025
1 parent 4a12635 commit 6d3e6e5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions DisCatSharp/Entities/Message/DiscordMessage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -478,6 +478,12 @@ public DiscordThreadChannel Thread
public bool HasPoll
=> this.Poll is not null;

/// <summary>
/// Gets the soundboard sounds send with this message, if applicable.
/// </summary>
[JsonProperty("soundboard_sounds", NullValueHandling = NullValueHandling.Ignore)]
public List<DiscordSoundboardSound>? SoundboardSounds { get; internal set; }

/// <summary>
/// Checks whether this <see cref="DiscordMessage" /> is equal to another <see cref="DiscordMessage" />.
/// </summary>
Expand Down

0 comments on commit 6d3e6e5

Please sign in to comment.