CommandBase

Namespace: Discord.Commands

Properties

Name

Description

Type

Client

The parent client

DiscordSocketClient

Message

The unparsed message

DiscordMessage

Methods

Execute

This method is abstract.

HandleError

Called if an error happens. This method is virtual and does therefore not need to be inherited.

Parameters

Name

Description

Type

parameterName

The name of the parameter at which the error happened

string

providedValue

The raw value the user provided, null i none were

string

exception

The thrown exception

Exception

Last updated