Свойство | Тип | Описание | |
---|---|---|---|
$args | array | ||
$channel | string | The channel ID, example: "D0HJF2J5L". | |
$client | |||
$game | |||
$gameManager | |||
$message | |||
$userId | Slack\string | The user ID of the command executor, example: "U0H9HHZ8V" |
Метод | Описание | |
---|---|---|
__construct ( |
Command constructor. | |
fire ( ) : void | Fires the command. | |
init ( ) |
public __construct ( |
||
$client | The Slack API client. | |
$gameManager | The game manager. | |
$message | The message object. | |
$args | array |
protected string $channel | ||
Результат | string |
protected SlackRTMClient,Slackwolf $client | ||
Результат |
protected GameManager,Slackwolf\Game $gameManager | ||
Результат |
protected Message,Slackwolf\Message $message | ||
Результат |