async send(data, priority = false) {
    return new Promise((resolve, reject) => {
      data = JSON.stringify(data);
      this.queue[priority ? "unshift" : "push"]({
        data: data,
        reject,
        resolve,
      });
      if (this.connected) this._processQueue();
    });
  }
/**
   * Send a message to lavalink.
   * @param data The message data.
   * @param priority If this message should be prioritized.
   * @since 1.0.0
   */
Send a message to lavalink.
@param data The message data.
@param priority If this message should be prioritized.
Send a message to lavalink . @param data The message data . @param priority If this message should be prioritized .
async send(data, priority = false) {
    return new Promise((resolve, reject) => {
      data = JSON.stringify(data);
      this.queue[priority ? "unshift" : "push"]({
        data: data,
        reject,
        resolve,
      });
      if (this.connected) this._processQueue();
    });
  }
async send ( data , priority = false ) { return new Promise ( ( resolve , reject ) => { data = JSON . stringify ( data ) ; this . queue [ priority ? "unshift" : "push" ] ( { data : data , reject , resolve , } ) ; if ( this . connected ) this . _processQueue ( ) ; } ) ; }
Send a message to lavalink.
Send a message to lavalink .