Table of Contents

Class AllowedProcessorsAttribute<T>

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

Allows to restrict commands to certain processors.

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

Type Parameters

T
Inheritance
AllowedProcessorsAttribute<T>
Inherited Members

Remarks

This attribute only works on top-level commands.

Constructors

AllowedProcessorsAttribute()