Table of Contents

Method As

Namespace
DSharpPlus.Commands
Assembly
DSharpPlus.Commands.dll

As<T>()

Cast this context to a different one.

public T As<T>() where T : CommandContext

Returns

T

This context as T.

Type Parameters

T

The type to cast to.