@discordjs/builders 2.0.0-dev.1784551164-2de90a767 → 2.0.0-dev.1785370677-4b3f1c166

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -5318,7 +5318,7 @@ var AttachmentBuilder = class {
5318
5318
  * @returns A {@link @discordjs/util#RawFile} object, or `undefined` if no file data is set
5319
5319
  */
5320
5320
  getRawFile() {
5321
- if (!this.fileData?.data) {
5321
+ if (this.fileData.data === void 0) {
5322
5322
  return;
5323
5323
  }
5324
5324
  return {
@@ -6093,7 +6093,7 @@ var MessageBuilder = class {
6093
6093
  const files = [];
6094
6094
  for (const attachment of this.data.attachments) {
6095
6095
  const rawFile = attachment.getRawFile();
6096
- if (rawFile?.data || rawFile?.contentType) {
6096
+ if (rawFile !== void 0) {
6097
6097
  files.push(rawFile);
6098
6098
  }
6099
6099
  }
@@ -6104,7 +6104,7 @@ var MessageBuilder = class {
6104
6104
  };
6105
6105
 
6106
6106
  // src/index.ts
6107
- var version = "2.0.0-dev.1784551164-2de90a767";
6107
+ var version = "2.0.0-dev.1785370677-4b3f1c166";
6108
6108
  // Annotate the CommonJS export names for ESM import in node:
6109
6109
  0 && (module.exports = {
6110
6110
  ActionRowBuilder,