@discordjs/builders 2.0.0-dev.1765065716-5e6bd4b3d → 2.0.0-dev.1765195314-d518c9784
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 +5 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +6 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
package/dist/index.d.mts
CHANGED
|
@@ -4276,6 +4276,11 @@ declare class AttachmentBuilder implements JSONEncodable<RESTAPIAttachment> {
|
|
|
4276
4276
|
* Creates a new attachment builder.
|
|
4277
4277
|
*
|
|
4278
4278
|
* @param data - The API data to create this attachment with
|
|
4279
|
+
* @example
|
|
4280
|
+
* ```ts
|
|
4281
|
+
* const attachment = new AttachmentBuilder().setId(1).setFileData(':)').setFilename('smiley.txt')
|
|
4282
|
+
* ```
|
|
4283
|
+
* @remarks Please note that the `id` field is required, it's rather easy to miss!
|
|
4279
4284
|
*/
|
|
4280
4285
|
constructor(data?: Partial<RESTAPIAttachment>);
|
|
4281
4286
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -4276,6 +4276,11 @@ declare class AttachmentBuilder implements JSONEncodable<RESTAPIAttachment> {
|
|
|
4276
4276
|
* Creates a new attachment builder.
|
|
4277
4277
|
*
|
|
4278
4278
|
* @param data - The API data to create this attachment with
|
|
4279
|
+
* @example
|
|
4280
|
+
* ```ts
|
|
4281
|
+
* const attachment = new AttachmentBuilder().setId(1).setFileData(':)').setFilename('smiley.txt')
|
|
4282
|
+
* ```
|
|
4283
|
+
* @remarks Please note that the `id` field is required, it's rather easy to miss!
|
|
4279
4284
|
*/
|
|
4280
4285
|
constructor(data?: Partial<RESTAPIAttachment>);
|
|
4281
4286
|
/**
|
package/dist/index.js
CHANGED
|
@@ -5086,6 +5086,11 @@ var AttachmentBuilder = class {
|
|
|
5086
5086
|
* Creates a new attachment builder.
|
|
5087
5087
|
*
|
|
5088
5088
|
* @param data - The API data to create this attachment with
|
|
5089
|
+
* @example
|
|
5090
|
+
* ```ts
|
|
5091
|
+
* const attachment = new AttachmentBuilder().setId(1).setFileData(':)').setFilename('smiley.txt')
|
|
5092
|
+
* ```
|
|
5093
|
+
* @remarks Please note that the `id` field is required, it's rather easy to miss!
|
|
5089
5094
|
*/
|
|
5090
5095
|
constructor(data = {}) {
|
|
5091
5096
|
this.data = structuredClone(data);
|
|
@@ -5857,7 +5862,7 @@ var MessageBuilder = class {
|
|
|
5857
5862
|
};
|
|
5858
5863
|
|
|
5859
5864
|
// src/index.ts
|
|
5860
|
-
var version = "2.0.0-dev.
|
|
5865
|
+
var version = "2.0.0-dev.1765195314-d518c9784";
|
|
5861
5866
|
// Annotate the CommonJS export names for ESM import in node:
|
|
5862
5867
|
0 && (module.exports = {
|
|
5863
5868
|
ActionRowBuilder,
|