Skip to content

Commit

Permalink
[OneBot] Better PokeSegment Compatibility (#674)
Browse files Browse the repository at this point in the history
  • Loading branch information
pk5ls20 authored Nov 3, 2024
1 parent f726c96 commit 49438b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lagrange.OneBot/Message/Entity/PokeSegment.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public PokeSegment() : this(0, 0) { }

[JsonPropertyName("strength")] public string? Strength { get; set; } = strength.ToString();

[JsonPropertyName("id")] [CQProperty] public string Id { get; set; } = string.Empty;
[JsonPropertyName("id")] [CQProperty] public string Id { get; set; } = "-1"; // can not get id
}

[SegmentSubscriber(typeof(PokeEntity), "poke")]
Expand Down

0 comments on commit 49438b7

Please sign in to comment.