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