Method DisableV2Components
- Namespace
- DSharpPlus.Entities
- Assembly
- DSharpPlus.dll
DisableV2Components()
Disables V2 components IF this builder does not currently contain illegal components.
IDiscordMessageBuilder DisableV2Components()
Returns
- IDiscordMessageBuilder
The builder to chain calls with.
Remarks
This method only disables the V2 components flag; the message originally associated with this builder cannot be downgraded, and this method only exists for convenience.
Exceptions
- InvalidOperationException
The builder contains V2 components and cannot be downgraded.