public function setSendDelay($milliseconds = null)
    {
        if (is_integer($milliseconds)) {
            $this->_senddelay = $milliseconds;
        } else {
            $this->_senddelay = self::DEF_SEND_DELAY;
        }
        return $this->_senddelay;
    }
public function setSendDelay($milliseconds = null)
    {
        if (is_integer($milliseconds)) {
            $this->_senddelay = $milliseconds;
        } else {
            $this->_senddelay = self::DEF_SEND_DELAY;
        }
        return $this->_senddelay;
    }
public function setSendDelay ( $ milliseconds = null ) { if ( is_integer ( $ milliseconds ) ) { $ this -> _senddelay = $ milliseconds ; } else { $ this -> _senddelay = self :: DEF_SEND_DELAY ; } return $ this -> _senddelay ; }
Sets the delay for sending data to the IRC server.

Sets the delay time between sending messages, to avoid flooding
IRC servers. If your bot has special flooding permissions on the
network you're connected to, you can set this quite low to send
messages faster.
Default: 250

@api
@param integer|null $milliseconds
@return integer
Sets the delay for sending data to the IRC server .