Table of Contents

Constructor Optional

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll

Optional(T)

Creates a new Optional<T> with specified value.

public Optional(T value)

Parameters

value T

Value of this option.