godjjchrome/js/tmi.js
// Enable subscribers mode on a channel..
Enable subscribers mode on a channel
Enable subscribers mode on a channel
function subscribers(channel) {
        var _this19 = this;
        channel = _.channel(channel);
        return this._sendCommand(this._getPromiseDelay(), channel, "/subscribers", function (resolve, reject) {
            _this19.once("_promiseSubscribers", function (err) {
                if (!err) {
                    resolve([channel]);
                } else {
                    reject(err);
                }
            });
        });
    }
function subscribers ( channel ) { var _this19 = this ; channel = _ . channel ( channel ) ; return this . _sendCommand ( this . _getPromiseDelay ( ) , channel , "/subscribers" , function ( resolve , reject ) { _this19 . once ( "_promiseSubscribers" , function ( err ) { if ( ! err ) { resolve ( [ channel ] ) ; } else { reject ( err ) ; } } ) ; } ) ; }
Enable subscribers mode on a channel..
Enable subscribers mode on a channel ..
// Send the command to the server and race the Promise against a delay.. // Received _promiseSubscribers event, resolve or reject..