Skip to main content

Class CommandAttribute

Marks the execution information for a command.

Assembly: Revolt.Net.Commands.dll​
View Source​
Declaration
public class CommandAttribute : Attribute

Properties​

Text​

Gets the text that has been set to be recognized as a command.

View Source​
Declaration
public string Text { get; }

RunMode​

Specifies the Revolt.Commands.Attributes.CommandAttribute.RunMode of the command. This affects how the command is executed.

View Source​
Declaration
public RunMode RunMode { get; set; }

IgnoreExtraArgs​

View Source​
Declaration
public bool? IgnoreExtraArgs { get; }