Table of Contents

Property this

Namespace
DSharpPlus
Assembly
DSharpPlus.dll

this[Type]

Gets the registered handlers for a type, or an empty collection if none were configured. These are returned as object, and individual elements must be casted to Func<DiscordClient, TEventArgs, IServiceProvider, Task>.

public IReadOnlyList<object> this[Type type] { get; }

Parameters

type Type

Property Value

IReadOnlyList<object>