src/RealTimeClient.php
public function getBots()
    {
        if (!$this->connected) {
            return Promise\reject(new ConnectionException('Client not connected. Did you forget to call `connect()`?'));
        }

        return Promise\resolve(array_values($this->bots));
    }
public function getBots()
    {
        if (!$this->connected) {
            return Promise\reject(new ConnectionException('Client not connected. Did you forget to call `connect()`?'));
        }

        return Promise\resolve(array_values($this->bots));
    }
public function getBots ( ) { if ( ! $ this -> connected ) { return Promise \ reject ( new ConnectionException ( 'Client not connected. Did you forget to call `connect()`?' ) ) ; } return Promise \ resolve ( array_values ( $ this -> bots ) ) ; }
Gets all bots in the Slack team.

@return \React\Promise\PromiseInterface A promise for an array of bots.
Gets all bots in the Slack team .