function isBannable() {
        if($this->id === $this->guild->ownerID || $this->id === $this->client->user->id) {
            return false;
        }
        
        $member = $this->guild->me;
        if(!$member->permissions->has(\CharlotteDunois\Yasmin\Models\Permissions::PERMISSIONS['BAN_MEMBERS'])) {
            return false;
        }
        
        return ($member->getHighestRole()->comparePositionTo($this->getHighestRole()) > 0);
    }
function isBannable() {
        if($this->id === $this->guild->ownerID || $this->id === $this->client->user->id) {
            return false;
        }
        
        $member = $this->guild->me;
        if(!$member->permissions->has(\CharlotteDunois\Yasmin\Models\Permissions::PERMISSIONS['BAN_MEMBERS'])) {
            return false;
        }
        
        return ($member->getHighestRole()->comparePositionTo($this->getHighestRole()) > 0);
    }
function isBannable ( ) { if ( $ this -> id === $ this -> guild -> ownerID || $ this -> id === $ this -> client -> user -> id ) { return false ; } $ member = $ this -> guild -> me ; if ( ! $ member -> permissions -> has ( \ CharlotteDunois \ Yasmin \ Models \ Permissions :: PERMISSIONS [ 'BAN_MEMBERS' ] ) ) { return false ; } return ( $ member -> getHighestRole ( ) -> comparePositionTo ( $ this -> getHighestRole ( ) ) > 0 ) ; }
Whether the member can be banned by the client user.
@return bool
Whether the member can be banned by the client user .