Property | Type | Description | |
---|---|---|---|
$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" |
Method | Description | |
---|---|---|
__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 | ||
return | string |
protected SlackRTMClient,Slackwolf $client | ||
return |
protected GameManager,Slackwolf\Game $gameManager | ||
return |
protected Message,Slackwolf\Message $message | ||
return |