Table of Contents

Class AllowedProcessorsAttribute

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

Allows to restrict commands to certain processors.

[AttributeUsage(AttributeTargets.Class|AttributeTargets.Method)]
public class AllowedProcessorsAttribute : Attribute
Inheritance
AllowedProcessorsAttribute

Remarks

This attribute only works on top-level commands.

Constructors

AllowedProcessorsAttribute(params Type[])

Properties

Processors

Types of allowed processors