Table of Contents

Class AllowedProcessorsAttribute<T1, T2>

Namespace
DSharpPlus.Commands.Trees.Metadata
Assembly
DSharpPlus.Commands.dll

Allows to restrict commands to certain processors.

[AttributeUsage(AttributeTargets.Class|AttributeTargets.Method)]
public class AllowedProcessorsAttribute<T1, T2> : AllowedProcessorsAttribute where T1 : ICommandProcessor where T2 : ICommandProcessor

Type Parameters

T1
T2
Inheritance
AllowedProcessorsAttribute<T1, T2>
Inherited Members

Remarks

This attribute only works on top-level commands.

Constructors

AllowedProcessorsAttribute()