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
object
Attribute
AllowedProcessorsAttribute
Derived

Remarks

This attribute only works on top-level commands.

Constructors

AllowedProcessorsAttribute(params Type[])

Specifies which processors are allowed to execute this command.

Properties

Processors

Types of allowed processors