Table of Contents

Class RegisteredDiscordApplicationCommand

Namespace
DisCatSharp.ApplicationCommands.Entities
Assembly
DisCatSharp.ApplicationCommands.dll

Represents a discord application command registered by the ApplicationCommands extensions.

public sealed class RegisteredDiscordApplicationCommand : DiscordApplicationCommand, IEquatable<DiscordApplicationCommand>
Inheritance
RegisteredDiscordApplicationCommand
Implements
Inherited Members

Properties

CommandMethod

The method that will be executed when somebody runs this command. null if command is a group command or reflection failed.

CommandType

The type that contains the sub commands of this command. null if command is not a group command or reflection failed.

ContainingType

The type this command is contained in. null if reflection failed.

CustomAttributes

Gets all Non-DisCatSharp attributes this command has. null if reflection failed.