async delete(message, reason) {
    message = this.resolveID(message);
    if (!message) throw new TypeError('INVALID_TYPE', 'message', 'MessageResolvable');

    await this.client.api.channels(this.channel.id).messages(message).delete({ reason });
  }
/**
   * Deletes a message, even if it's not cached.
   * @param {MessageResolvable} message The message to delete
   * @param {string} [reason] Reason for deleting this message, if it does not belong to the client user
   * @returns {Promise<void>}
   */
Deletes a message, even if it's not cached.
@param {MessageResolvable} message The message to delete
@param {string} [reason] Reason for deleting this message, if it does not belong to the client user
@returns {Promise}
Deletes a message even if it ' s not cached . @param { MessageResolvable } message The message to delete @param { string } [ reason ] Reason for deleting this message if it does not belong to the client user @returns { Promise }
async delete(message, reason) {
    message = this.resolveID(message);
    if (!message) throw new TypeError('INVALID_TYPE', 'message', 'MessageResolvable');
    await this.client.api.channels(this.channel.id).messages(message).delete({ reason });
  }
async delete ( message , reason ) { message = this . resolveID ( message ) ; if ( ! message ) throw new TypeError ( 'INVALID_TYPE' , 'message' , 'MessageResolvable' ) ; await this . client . api . channels ( this . channel . id ) . messages ( message ) . delete ( { reason } ) ; }
Deletes a message, even if it's not cached.
Deletes a message even if it ' s not cached .