[Fix] Forum channel related issues.

This commit is contained in:
Misha133
2023-08-10 15:37:02 +03:00
committed by GitHub
parent 12c50f2d98
commit 4dbb5949fc
9 changed files with 76 additions and 70 deletions

View File

@@ -376,7 +376,7 @@ namespace Discord.Rest
AvailableTags = props.Tags.GetValueOrDefault(Array.Empty<ForumTagProperties>()).Select(
x => new ModifyForumTagParams
{
Id = x.Id,
Id = x.Id ?? Optional<ulong>.Unspecified,
Name = x.Name,
EmojiId = x.Emoji is Emote emote
? emote.Id