DiscordPHP Documentation

BuiltCommand
in package

FinalYes

Small DTO returned by MessageCommandClient::buildCommand().

Table of Contents

Properties

$command  : Command
The Command instance built by the client.
$options  : array<string, mixed>
Resolved options for the command.

Methods

__construct()  : mixed

Properties

$options

Resolved options for the command.

public array<string, mixed> $options

Methods

__construct()

public __construct(Command $command, array<string|int, mixed> $options) : mixed
Parameters
$command : Command
$options : array<string|int, mixed>
On this page

Search results