@discordjs/builders 2.0.0-dev.1765195314-d518c9784 → 2.0.0-dev.1765238522-f38395ec4
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.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
package/dist/index.mjs
CHANGED
|
@@ -5067,7 +5067,7 @@ var AttachmentBuilder = class {
|
|
|
5067
5067
|
return {
|
|
5068
5068
|
...this.fileData,
|
|
5069
5069
|
name: this.data.filename,
|
|
5070
|
-
key: this.data.id ? `files[${this.data.id}]`
|
|
5070
|
+
key: this.data.id === void 0 ? void 0 : `files[${this.data.id}]`
|
|
5071
5071
|
};
|
|
5072
5072
|
}
|
|
5073
5073
|
/**
|
|
@@ -5374,7 +5374,7 @@ var MessageBuilder = class {
|
|
|
5374
5374
|
*
|
|
5375
5375
|
* @param allowedMentions - The allowed mentions to set
|
|
5376
5376
|
*/
|
|
5377
|
-
setAllowedMentions(allowedMentions) {
|
|
5377
|
+
setAllowedMentions(allowedMentions = new AllowedMentionsBuilder()) {
|
|
5378
5378
|
this.data.allowed_mentions = resolveBuilder(allowedMentions, AllowedMentionsBuilder);
|
|
5379
5379
|
return this;
|
|
5380
5380
|
}
|
|
@@ -5731,7 +5731,7 @@ var MessageBuilder = class {
|
|
|
5731
5731
|
};
|
|
5732
5732
|
|
|
5733
5733
|
// src/index.ts
|
|
5734
|
-
var version = "2.0.0-dev.
|
|
5734
|
+
var version = "2.0.0-dev.1765238522-f38395ec4";
|
|
5735
5735
|
export {
|
|
5736
5736
|
ActionRowBuilder,
|
|
5737
5737
|
AllowedMentionsBuilder,
|