Skip to content

Commit

Permalink
Fixed FaceSegment
Browse files Browse the repository at this point in the history
  • Loading branch information
Linwenxuan authored and Linwenxuan committed Oct 14, 2023
1 parent f565c54 commit 913e391
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Lagrange.OneBot/Core/Message/Entity/FaceSegment.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public FaceSegment() : this(0) { }
[JsonPropertyName("id")] public string Id { get; set; } = id.ToString();
}

[SegmentSubscriber(typeof(FaceSegment), "face")]
[SegmentSubscriber(typeof(FaceEntity), "face")]
public partial class FaceSegment : ISegment
{
public IMessageEntity ToEntity() => new FaceEntity(ushort.Parse(Id), false);
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Please use Lagrange.Core responsibly and in accordance with the law.
| Message Segement| Support |
| ------------ | ------------|
| [Text] | 🟢 |
| [Face] | 🔴 |
| [Face] | 🟢 |
| [Image] | 🟢 |
| [Record] | 🔴 |
| [Video] | 🔴 |
Expand Down

0 comments on commit 913e391

Please sign in to comment.