Table of Contents

Class AllowedProcessorsAttribute<T1, T2, T3>

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, T3> : AllowedProcessorsAttribute where T1 : ICommandProcessor where T2 : ICommandProcessor where T3 : ICommandProcessor

Type Parameters

T1
T2
T3
Inheritance
AllowedProcessorsAttribute<T1, T2, T3>
Inherited Members

Remarks

This attribute only works on top-level commands.

Constructors

AllowedProcessorsAttribute()