Table of Contents

Namespace DisCatSharp.CommandsNext

Classes

BaseCommandModule

Represents a base class for all command modules.

Command

Represents a command.

CommandArgument

Represents a command argument.

CommandContext

Represents a context in which a command is executed.

CommandErrorEventArgs

Represents arguments for CommandErrored event.

CommandEventArgs

Base class for all CNext-related events.

CommandExecutionEventArgs

Represents arguments for CommandExecuted event.

CommandGroup

Represents a command group.

CommandOverload

Represents a specific overload of a command.

CommandsNextConfiguration

Represents a configuration for CommandsNextExtension.

CommandsNextEvents

Contains well-defined event IDs used by CommandsNext.

CommandsNextExtension

This is the class which handles command registration, management, and execution.

CommandsNextExtension.DefaultHelpModule

Represents the default help module.

CommandsNextUtilities

Various CommandsNext-related utilities.

ExtensionMethods

Defines various extensions specific to CommandsNext.

Structs

CommandResult

Represents a command's execution result.

Delegates

PrefixResolverDelegate

Represents a delegate for a function that takes a message, and returns the position of the start of command invocation in the message. It has to return -1 if prefix is not present.

It is recommended that helper methods GetStringPrefixLength(DiscordMessage, string, StringComparison) and GetMentionPrefixLength(DiscordMessage, DiscordUser) be used internally for checking. Their output can be passed through.