@discordjs/builders 2.0.0-dev.1764806526-0aaba0305 → 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 +11 -11
package/dist/index.mjs
CHANGED
|
@@ -4955,6 +4955,11 @@ var AttachmentBuilder = class {
|
|
|
4955
4955
|
* Creates a new attachment builder.
|
|
4956
4956
|
*
|
|
4957
4957
|
* @param data - The API data to create this attachment with
|
|
4958
|
+
* @example
|
|
4959
|
+
* ```ts
|
|
4960
|
+
* const attachment = new AttachmentBuilder().setId(1).setFileData(':)').setFilename('smiley.txt')
|
|
4961
|
+
* ```
|
|
4962
|
+
* @remarks Please note that the `id` field is required, it's rather easy to miss!
|
|
4958
4963
|
*/
|
|
4959
4964
|
constructor(data = {}) {
|
|
4960
4965
|
this.data = structuredClone(data);
|
|
@@ -5726,7 +5731,7 @@ var MessageBuilder = class {
|
|
|
5726
5731
|
};
|
|
5727
5732
|
|
|
5728
5733
|
// src/index.ts
|
|
5729
|
-
var version = "2.0.0-dev.
|
|
5734
|
+
var version = "2.0.0-dev.1765195314-d518c9784";
|
|
5730
5735
|
export {
|
|
5731
5736
|
ActionRowBuilder,
|
|
5732
5737
|
AllowedMentionsBuilder,
|