Remora / Remora.Discord

A data-oriented C# Discord library, focused on high-performance concurrency and robust design.
GNU Lesser General Public License v3.0
246 stars 44 forks source link

[Bug]: EditMessageAsync should allow for setting flags #288

Closed VelvetToroyashi closed 1 year ago

VelvetToroyashi commented 1 year ago

Description

Right now, a call to IDiscordRestChannelAPI#EditMessageAsync requires content, embeds, or components, when just editing flags (e.g. suppressing embeds) is also valid.

Steps to Reproduce

Edit a message, passing flags: MessageFlags.SuppressEmbeds

Expected Behavior

The request is made

Current Behavior

An exception is thrown because no form of content is being edited

Library / Runtime Information

2023.1