Table of Contents

Method DisableV2Components

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll

DisableV2Components()

Disables V2 components IF this builder does not currently contain illegal components.

public T DisableV2Components()

Returns

T

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.