Fix error with flag params. (#2165)

This commit is contained in:
Brendan McShane
2022-03-03 16:20:34 -05:00
committed by GitHub
parent 48bc723f9e
commit a5d3add1d6

View File

@@ -51,7 +51,7 @@ namespace Discord.API.Rest
if (Stickers.IsSpecified)
payload["sticker_ids"] = Stickers.Value;
if (Flags.IsSpecified)
payload["flags"] = Flags;
payload["flags"] = Flags.Value;
List<object> attachments = new();