@buape/carbon 0.4.2 → 0.6.0
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/README.md +15 -3
- package/dist/package.json +22 -5
- package/dist/src/abstracts/BaseChannel.d.ts +22 -21
- package/dist/src/abstracts/BaseChannel.d.ts.map +1 -1
- package/dist/src/abstracts/BaseChannel.js +37 -27
- package/dist/src/abstracts/BaseChannel.js.map +1 -1
- package/dist/src/abstracts/BaseComponentInteraction.d.ts +3 -2
- package/dist/src/abstracts/BaseComponentInteraction.d.ts.map +1 -1
- package/dist/src/abstracts/BaseComponentInteraction.js +3 -4
- package/dist/src/abstracts/BaseComponentInteraction.js.map +1 -1
- package/dist/src/abstracts/BaseGuildChannel.d.ts +12 -10
- package/dist/src/abstracts/BaseGuildChannel.d.ts.map +1 -1
- package/dist/src/abstracts/BaseGuildChannel.js +35 -22
- package/dist/src/abstracts/BaseGuildChannel.js.map +1 -1
- package/dist/src/abstracts/BaseGuildTextChannel.d.ts +13 -9
- package/dist/src/abstracts/BaseGuildTextChannel.d.ts.map +1 -1
- package/dist/src/abstracts/BaseGuildTextChannel.js +25 -9
- package/dist/src/abstracts/BaseGuildTextChannel.js.map +1 -1
- package/dist/src/abstracts/BaseInteraction.d.ts +10 -24
- package/dist/src/abstracts/BaseInteraction.d.ts.map +1 -1
- package/dist/src/abstracts/BaseInteraction.js +21 -15
- package/dist/src/abstracts/BaseInteraction.js.map +1 -1
- package/dist/src/abstracts/GuildThreadOnlyChannel.d.ts +14 -13
- package/dist/src/abstracts/GuildThreadOnlyChannel.d.ts.map +1 -1
- package/dist/src/abstracts/GuildThreadOnlyChannel.js +31 -16
- package/dist/src/abstracts/GuildThreadOnlyChannel.js.map +1 -1
- package/dist/src/abstracts/Plugin.d.ts +14 -0
- package/dist/src/abstracts/Plugin.d.ts.map +1 -0
- package/dist/src/abstracts/Plugin.js +4 -0
- package/dist/src/abstracts/Plugin.js.map +1 -0
- package/dist/src/adapters/bun/index.d.ts +16 -0
- package/dist/src/adapters/bun/index.d.ts.map +1 -0
- package/dist/src/adapters/bun/index.js +20 -0
- package/dist/src/adapters/bun/index.js.map +1 -0
- package/dist/src/adapters/cloudflare/index.d.ts +16 -0
- package/dist/src/adapters/cloudflare/index.d.ts.map +1 -0
- package/dist/src/adapters/cloudflare/index.js +17 -0
- package/dist/src/adapters/cloudflare/index.js.map +1 -0
- package/dist/src/adapters/next/index.d.ts +14 -0
- package/dist/src/adapters/next/index.d.ts.map +1 -0
- package/dist/src/adapters/next/index.js +17 -0
- package/dist/src/adapters/next/index.js.map +1 -0
- package/dist/src/adapters/node/index.d.ts +16 -0
- package/dist/src/adapters/node/index.d.ts.map +1 -0
- package/dist/src/adapters/node/index.js +20 -0
- package/dist/src/adapters/node/index.js.map +1 -0
- package/dist/src/adapters/shared.d.ts +10 -0
- package/dist/src/adapters/shared.d.ts.map +1 -0
- package/dist/src/adapters/shared.js +2 -0
- package/dist/src/adapters/shared.js.map +1 -0
- package/dist/src/classes/Button.d.ts +0 -4
- package/dist/src/classes/Button.d.ts.map +1 -1
- package/dist/src/classes/Button.js +6 -0
- package/dist/src/classes/Button.js.map +1 -1
- package/dist/src/classes/Client.d.ts +72 -59
- package/dist/src/classes/Client.d.ts.map +1 -1
- package/dist/src/classes/Client.js +125 -111
- package/dist/src/classes/Client.js.map +1 -1
- package/dist/src/classes/Embed.d.ts +2 -1
- package/dist/src/classes/Embed.d.ts.map +1 -1
- package/dist/src/classes/Embed.js +12 -10
- package/dist/src/classes/Embed.js.map +1 -1
- package/dist/src/createHandle.d.ts +20 -0
- package/dist/src/createHandle.d.ts.map +1 -0
- package/dist/src/createHandle.js +57 -0
- package/dist/src/createHandle.js.map +1 -0
- package/dist/src/factories/channelFactory.d.ts +1 -1
- package/dist/src/factories/channelFactory.d.ts.map +1 -1
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +1 -0
- package/dist/src/index.js.map +1 -1
- package/dist/src/internals/AutocompleteInteraction.d.ts +2 -3
- package/dist/src/internals/AutocompleteInteraction.d.ts.map +1 -1
- package/dist/src/internals/AutocompleteInteraction.js +2 -8
- package/dist/src/internals/AutocompleteInteraction.js.map +1 -1
- package/dist/src/internals/CommandHandler.d.ts.map +1 -1
- package/dist/src/internals/CommandHandler.js +4 -2
- package/dist/src/internals/CommandHandler.js.map +1 -1
- package/dist/src/internals/CommandInteraction.d.ts +3 -4
- package/dist/src/internals/CommandInteraction.d.ts.map +1 -1
- package/dist/src/internals/CommandInteraction.js +6 -12
- package/dist/src/internals/CommandInteraction.js.map +1 -1
- package/dist/src/internals/ModalInteraction.d.ts +3 -2
- package/dist/src/internals/ModalInteraction.d.ts.map +1 -1
- package/dist/src/internals/ModalInteraction.js +3 -3
- package/dist/src/internals/ModalInteraction.js.map +1 -1
- package/dist/src/internals/OptionsHandler.d.ts +8 -12
- package/dist/src/internals/OptionsHandler.d.ts.map +1 -1
- package/dist/src/internals/OptionsHandler.js +27 -9
- package/dist/src/internals/OptionsHandler.js.map +1 -1
- package/dist/src/plugins/linked-roles/LinkedRoles.d.ts +61 -0
- package/dist/src/plugins/linked-roles/LinkedRoles.d.ts.map +1 -0
- package/dist/src/plugins/linked-roles/LinkedRoles.js +196 -0
- package/dist/src/plugins/linked-roles/LinkedRoles.js.map +1 -0
- package/dist/src/plugins/linked-roles/index.d.ts +3 -0
- package/dist/src/plugins/linked-roles/index.d.ts.map +1 -0
- package/dist/src/plugins/linked-roles/index.js +3 -0
- package/dist/src/plugins/linked-roles/index.js.map +1 -0
- package/dist/src/plugins/linked-roles/types.d.ts +94 -0
- package/dist/src/plugins/linked-roles/types.d.ts.map +1 -0
- package/dist/src/plugins/linked-roles/types.js +39 -0
- package/dist/src/plugins/linked-roles/types.js.map +1 -0
- package/dist/src/structures/DmChannel.d.ts +7 -6
- package/dist/src/structures/DmChannel.d.ts.map +1 -1
- package/dist/src/structures/DmChannel.js +7 -6
- package/dist/src/structures/DmChannel.js.map +1 -1
- package/dist/src/structures/GroupDmChannel.d.ts +17 -19
- package/dist/src/structures/GroupDmChannel.d.ts.map +1 -1
- package/dist/src/structures/GroupDmChannel.js +48 -41
- package/dist/src/structures/GroupDmChannel.js.map +1 -1
- package/dist/src/structures/Guild.d.ts +29 -28
- package/dist/src/structures/Guild.d.ts.map +1 -1
- package/dist/src/structures/Guild.js +82 -57
- package/dist/src/structures/Guild.js.map +1 -1
- package/dist/src/structures/GuildAnnouncementChannel.d.ts +3 -4
- package/dist/src/structures/GuildAnnouncementChannel.d.ts.map +1 -1
- package/dist/src/structures/GuildAnnouncementChannel.js +1 -3
- package/dist/src/structures/GuildAnnouncementChannel.js.map +1 -1
- package/dist/src/structures/GuildCategoryChannel.d.ts +3 -3
- package/dist/src/structures/GuildCategoryChannel.d.ts.map +1 -1
- package/dist/src/structures/GuildCategoryChannel.js +0 -1
- package/dist/src/structures/GuildCategoryChannel.js.map +1 -1
- package/dist/src/structures/GuildForumChannel.d.ts +4 -3
- package/dist/src/structures/GuildForumChannel.d.ts.map +1 -1
- package/dist/src/structures/GuildForumChannel.js +4 -3
- package/dist/src/structures/GuildForumChannel.js.map +1 -1
- package/dist/src/structures/GuildMediaChannel.d.ts +3 -7
- package/dist/src/structures/GuildMediaChannel.d.ts.map +1 -1
- package/dist/src/structures/GuildMediaChannel.js +1 -6
- package/dist/src/structures/GuildMediaChannel.js.map +1 -1
- package/dist/src/structures/GuildMember.d.ts +28 -26
- package/dist/src/structures/GuildMember.d.ts.map +1 -1
- package/dist/src/structures/GuildMember.js +95 -57
- package/dist/src/structures/GuildMember.js.map +1 -1
- package/dist/src/structures/GuildStageOrVoiceChannel.d.ts +12 -11
- package/dist/src/structures/GuildStageOrVoiceChannel.d.ts.map +1 -1
- package/dist/src/structures/GuildStageOrVoiceChannel.js +22 -13
- package/dist/src/structures/GuildStageOrVoiceChannel.js.map +1 -1
- package/dist/src/structures/GuildTextChannel.d.ts +6 -6
- package/dist/src/structures/GuildTextChannel.d.ts.map +1 -1
- package/dist/src/structures/GuildTextChannel.js +9 -7
- package/dist/src/structures/GuildTextChannel.js.map +1 -1
- package/dist/src/structures/GuildThreadChannel.d.ts +14 -13
- package/dist/src/structures/GuildThreadChannel.d.ts.map +1 -1
- package/dist/src/structures/GuildThreadChannel.js +59 -28
- package/dist/src/structures/GuildThreadChannel.js.map +1 -1
- package/dist/src/structures/Message.d.ts +50 -41
- package/dist/src/structures/Message.d.ts.map +1 -1
- package/dist/src/structures/Message.js +163 -93
- package/dist/src/structures/Message.js.map +1 -1
- package/dist/src/structures/Role.d.ts +27 -25
- package/dist/src/structures/Role.d.ts.map +1 -1
- package/dist/src/structures/Role.js +100 -61
- package/dist/src/structures/Role.js.map +1 -1
- package/dist/src/structures/User.d.ts +34 -32
- package/dist/src/structures/User.d.ts.map +1 -1
- package/dist/src/structures/User.js +97 -64
- package/dist/src/structures/User.js.map +1 -1
- package/dist/src/types.d.ts +37 -0
- package/dist/src/types.d.ts.map +1 -0
- package/dist/src/types.js +2 -0
- package/dist/src/types.js.map +1 -0
- package/dist/src/utils.d.ts +17 -0
- package/dist/src/utils.d.ts.map +1 -1
- package/dist/src/utils.js +16 -5
- package/dist/src/utils.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +23 -6
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GuildThreadChannel.d.ts","sourceRoot":"","sources":["../../../src/structures/GuildThreadChannel.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,gBAAgB,EAErB,KAAK,iBAAiB,EACtB,MAAM,uBAAuB,CAAA;AAC9B,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAA;
|
|
1
|
+
{"version":3,"file":"GuildThreadChannel.d.ts","sourceRoot":"","sources":["../../../src/structures/GuildThreadChannel.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,gBAAgB,EAErB,KAAK,iBAAiB,EACtB,MAAM,uBAAuB,CAAA;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AAW,IAAI,SAAS,CAAC,SAAS,EAAE,MAAM,EAAE,CAAC,CAGhD;IAED;;OAEG;IACG,IAAI;IAIV;;OAEG;IACG,SAAS,CAAC,MAAM,EAAE,MAAM;IAI9B;;OAEG;IACG,KAAK;IAIX;;OAEG;IACG,YAAY,CAAC,MAAM,EAAE,MAAM;IAIjC;;OAEG;IACG,OAAO;IAOb;;OAEG;IACG,SAAS;IAOf;;OAEG;IACG,sBAAsB,CAAC,QAAQ,EAAE,MAAM;IAW7C;;OAEG;IACG,IAAI;IAOV;;OAEG;IACG,MAAM;CAMZ"}
|
|
@@ -4,62 +4,93 @@ export class GuildThreadChannel extends BaseGuildChannel {
|
|
|
4
4
|
/**
|
|
5
5
|
* Whether the thread is archived.
|
|
6
6
|
*/
|
|
7
|
-
archived
|
|
7
|
+
get archived() {
|
|
8
|
+
if (!this.rawData)
|
|
9
|
+
return undefined;
|
|
10
|
+
return this.rawData.thread_metadata?.archived;
|
|
11
|
+
}
|
|
8
12
|
/**
|
|
9
13
|
* The duration until the thread is auto archived.
|
|
10
14
|
*/
|
|
11
|
-
autoArchiveDuration
|
|
15
|
+
get autoArchiveDuration() {
|
|
16
|
+
if (!this.rawData)
|
|
17
|
+
return undefined;
|
|
18
|
+
return this.rawData.thread_metadata?.auto_archive_duration;
|
|
19
|
+
}
|
|
12
20
|
/**
|
|
13
21
|
* The timestamp of when the thread was archived.
|
|
14
22
|
*/
|
|
15
|
-
archiveTimestamp
|
|
23
|
+
get archiveTimestamp() {
|
|
24
|
+
if (!this.rawData)
|
|
25
|
+
return undefined;
|
|
26
|
+
return this.rawData.thread_metadata?.archive_timestamp;
|
|
27
|
+
}
|
|
16
28
|
/**
|
|
17
29
|
* Whether the thread is locked.
|
|
18
30
|
*/
|
|
19
|
-
locked
|
|
31
|
+
get locked() {
|
|
32
|
+
if (!this.rawData)
|
|
33
|
+
return undefined;
|
|
34
|
+
return this.rawData.thread_metadata?.locked;
|
|
35
|
+
}
|
|
20
36
|
/**
|
|
21
37
|
* Whether non-moderators can add other non-moderators to a thread; only available on private threads
|
|
22
38
|
*/
|
|
23
|
-
invitable
|
|
39
|
+
get invitable() {
|
|
40
|
+
if (!this.rawData)
|
|
41
|
+
return undefined;
|
|
42
|
+
return this.rawData.thread_metadata?.invitable;
|
|
43
|
+
}
|
|
24
44
|
/**
|
|
25
45
|
* The timestamp of when the thread was created.
|
|
26
46
|
*/
|
|
27
|
-
createTimestamp
|
|
47
|
+
get createTimestamp() {
|
|
48
|
+
if (!this.rawData)
|
|
49
|
+
return undefined;
|
|
50
|
+
return this.rawData.thread_metadata?.create_timestamp;
|
|
51
|
+
}
|
|
28
52
|
/**
|
|
29
53
|
* The number of messages in the thread.
|
|
30
54
|
*/
|
|
31
|
-
messageCount
|
|
55
|
+
get messageCount() {
|
|
56
|
+
if (!this.rawData)
|
|
57
|
+
return undefined;
|
|
58
|
+
return this.rawData.message_count;
|
|
59
|
+
}
|
|
32
60
|
/**
|
|
33
61
|
* The number of members in the thread.
|
|
34
62
|
*
|
|
35
63
|
* @remarks
|
|
36
64
|
* This is only accurate until 50, after that, Discord stops counting.
|
|
37
65
|
*/
|
|
38
|
-
memberCount
|
|
66
|
+
get memberCount() {
|
|
67
|
+
if (!this.rawData)
|
|
68
|
+
return undefined;
|
|
69
|
+
return this.rawData.member_count;
|
|
70
|
+
}
|
|
39
71
|
/**
|
|
40
72
|
* The ID of the owner of the thread.
|
|
41
73
|
*/
|
|
42
|
-
ownerId
|
|
74
|
+
get ownerId() {
|
|
75
|
+
if (!this.rawData)
|
|
76
|
+
return undefined;
|
|
77
|
+
return this.rawData.owner_id;
|
|
78
|
+
}
|
|
43
79
|
/**
|
|
44
80
|
* The number of messages sent in the thread.
|
|
45
81
|
*/
|
|
46
|
-
totalMessageSent
|
|
82
|
+
get totalMessageSent() {
|
|
83
|
+
if (!this.rawData)
|
|
84
|
+
return undefined;
|
|
85
|
+
return this.rawData.total_message_sent;
|
|
86
|
+
}
|
|
47
87
|
/**
|
|
48
88
|
* The tags applied to the thread.
|
|
49
89
|
*/
|
|
50
|
-
appliedTags
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
this.
|
|
54
|
-
this.archiveTimestamp = data.thread_metadata?.archive_timestamp;
|
|
55
|
-
this.locked = data.thread_metadata?.locked;
|
|
56
|
-
this.invitable = data.thread_metadata?.invitable;
|
|
57
|
-
this.createTimestamp = data.thread_metadata?.create_timestamp;
|
|
58
|
-
this.messageCount = data.message_count;
|
|
59
|
-
this.memberCount = data.member_count;
|
|
60
|
-
this.ownerId = data.owner_id;
|
|
61
|
-
this.totalMessageSent = data.total_message_sent;
|
|
62
|
-
this.appliedTags = data.applied_tags;
|
|
90
|
+
get appliedTags() {
|
|
91
|
+
if (!this.rawData)
|
|
92
|
+
return undefined;
|
|
93
|
+
return this.rawData.applied_tags;
|
|
63
94
|
}
|
|
64
95
|
/**
|
|
65
96
|
* Join the thread
|
|
@@ -92,7 +123,7 @@ export class GuildThreadChannel extends BaseGuildChannel {
|
|
|
92
123
|
await this.client.rest.patch(Routes.channel(this.id), {
|
|
93
124
|
body: { archive: true }
|
|
94
125
|
});
|
|
95
|
-
this.archived
|
|
126
|
+
Reflect.set(this.rawData?.thread_metadata ?? {}, "archived", true);
|
|
96
127
|
}
|
|
97
128
|
/**
|
|
98
129
|
* Unarchive the thread
|
|
@@ -101,7 +132,7 @@ export class GuildThreadChannel extends BaseGuildChannel {
|
|
|
101
132
|
await this.client.rest.patch(Routes.channel(this.id), {
|
|
102
133
|
body: { archive: false }
|
|
103
134
|
});
|
|
104
|
-
this.archived
|
|
135
|
+
Reflect.set(this.rawData?.thread_metadata ?? {}, "archived", false);
|
|
105
136
|
}
|
|
106
137
|
/**
|
|
107
138
|
* Set the auto archive duration of the thread
|
|
@@ -110,7 +141,7 @@ export class GuildThreadChannel extends BaseGuildChannel {
|
|
|
110
141
|
await this.client.rest.patch(Routes.channel(this.id), {
|
|
111
142
|
body: { auto_archive_duration: duration }
|
|
112
143
|
});
|
|
113
|
-
this.
|
|
144
|
+
Reflect.set(this.rawData?.thread_metadata ?? {}, "auto_archive_duration", duration);
|
|
114
145
|
}
|
|
115
146
|
/**
|
|
116
147
|
* Lock the thread
|
|
@@ -119,7 +150,7 @@ export class GuildThreadChannel extends BaseGuildChannel {
|
|
|
119
150
|
await this.client.rest.put(Routes.channel(this.id), {
|
|
120
151
|
body: { locked: true }
|
|
121
152
|
});
|
|
122
|
-
this.locked
|
|
153
|
+
Reflect.set(this.rawData?.thread_metadata ?? {}, "locked", true);
|
|
123
154
|
}
|
|
124
155
|
/**
|
|
125
156
|
* Unlock the thread
|
|
@@ -128,7 +159,7 @@ export class GuildThreadChannel extends BaseGuildChannel {
|
|
|
128
159
|
await this.client.rest.put(Routes.channel(this.id), {
|
|
129
160
|
body: { locked: false }
|
|
130
161
|
});
|
|
131
|
-
this.locked
|
|
162
|
+
Reflect.set(this.rawData?.thread_metadata ?? {}, "locked", false);
|
|
132
163
|
}
|
|
133
164
|
}
|
|
134
165
|
//# sourceMappingURL=GuildThreadChannel.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GuildThreadChannel.js","sourceRoot":"","sources":["../../../src/structures/GuildThreadChannel.ts"],"names":[],"mappings":"AAAA,OAAO,EAEN,MAAM,EAEN,MAAM,uBAAuB,CAAA;AAC9B,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAA;
|
|
1
|
+
{"version":3,"file":"GuildThreadChannel.js","sourceRoot":"","sources":["../../../src/structures/GuildThreadChannel.ts"],"names":[],"mappings":"AAAA,OAAO,EAEN,MAAM,EAEN,MAAM,uBAAuB,CAAA;AAC9B,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAA;AAGnE,MAAM,OAAO,kBAGX,SAAQ,gBAAiC;IAI1C;;OAEG;IACH,IAAI,QAAQ;QACX,IAAI,CAAC,IAAI,CAAC,OAAO;YAAE,OAAO,SAAkB,CAAA;QAC5C,OAAO,IAAI,CAAC,OAA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O,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE;YACnD,IAAI,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE;SACvB,CAAC,CAAA;QACF,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,OAAO,EAAE,eAAe,IAAI,EAAE,EAAE,QAAQ,EAAE,KAAK,CAAC,CAAA;IAClE,CAAC;CACD"}
|
|
@@ -1,103 +1,121 @@
|
|
|
1
|
-
import { type APIAllowedMentions, type APIAttachment, type APIMessage, type APIMessageInteractionMetadata, type APIMessageReference, type APIPoll, type APIReaction, type
|
|
1
|
+
import { type APIAllowedMentions, type APIAttachment, type APIMessage, type APIMessageInteractionMetadata, type APIMessageReference, type APIPoll, type APIReaction, type APIStickerItem, type ChannelType, type MessageFlags, type MessageType, type RESTPostAPIChannelThreadsJSONBody } from "discord-api-types/v10";
|
|
2
2
|
import { Base } from "../abstracts/Base.js";
|
|
3
3
|
import type { Client } from "../classes/Client.js";
|
|
4
4
|
import { Embed } from "../classes/Embed.js";
|
|
5
5
|
import type { Row } from "../classes/Row.js";
|
|
6
|
+
import type { IfPartial } from "../utils.js";
|
|
6
7
|
import { GuildThreadChannel } from "./GuildThreadChannel.js";
|
|
7
8
|
import { Role } from "./Role.js";
|
|
8
9
|
import { User } from "./User.js";
|
|
9
|
-
export declare class Message extends Base {
|
|
10
|
+
export declare class Message<IsPartial extends boolean = false> extends Base {
|
|
11
|
+
constructor(client: Client, rawDataOrIds: IsPartial extends true ? {
|
|
12
|
+
id: string;
|
|
13
|
+
channelId: string;
|
|
14
|
+
} : APIMessage);
|
|
15
|
+
private rawData;
|
|
16
|
+
private setData;
|
|
10
17
|
/**
|
|
11
18
|
* The ID of the message
|
|
12
19
|
*/
|
|
13
|
-
|
|
20
|
+
readonly id: string;
|
|
14
21
|
/**
|
|
15
22
|
* The ID of the channel the message is in
|
|
16
23
|
*/
|
|
17
|
-
|
|
24
|
+
readonly channelId: string;
|
|
18
25
|
/**
|
|
19
26
|
* Whether the message is a partial message (meaning it does not have all the data).
|
|
20
27
|
* If this is true, you should use {@link Message.fetch} to get the full data of the message.
|
|
21
28
|
*/
|
|
22
|
-
|
|
29
|
+
get partial(): IsPartial;
|
|
23
30
|
/**
|
|
24
31
|
* If this message is a response to an interaction, this is the ID of the interaction's application
|
|
25
32
|
*/
|
|
26
|
-
|
|
33
|
+
get applicationId(): IfPartial<IsPartial, string | undefined>;
|
|
27
34
|
/**
|
|
28
35
|
* The attachments of the message
|
|
29
36
|
*/
|
|
30
|
-
|
|
37
|
+
get attachments(): IfPartial<IsPartial, APIAttachment[]>;
|
|
31
38
|
/**
|
|
32
39
|
* The components of the message
|
|
33
40
|
*/
|
|
34
|
-
|
|
41
|
+
get components(): IfPartial<IsPartial, NonNullable<APIMessage["components"]>>;
|
|
35
42
|
/**
|
|
36
43
|
* The content of the message
|
|
37
44
|
*/
|
|
38
|
-
|
|
45
|
+
get content(): IfPartial<IsPartial, string>;
|
|
46
|
+
get embeds(): IfPartial<IsPartial, Embed[]>;
|
|
39
47
|
/**
|
|
40
48
|
* If this message was edited, this is the timestamp of the edit
|
|
41
49
|
*/
|
|
42
|
-
|
|
50
|
+
get editedTimestamp(): IfPartial<IsPartial, string | null>;
|
|
43
51
|
/**
|
|
44
52
|
* The flags of the message
|
|
45
53
|
*/
|
|
46
|
-
|
|
54
|
+
get flags(): IfPartial<IsPartial, MessageFlags>;
|
|
47
55
|
/**
|
|
48
56
|
* The interaction metadata of the message
|
|
49
57
|
*/
|
|
50
|
-
|
|
58
|
+
get interactionMetadata(): IfPartial<IsPartial, APIMessageInteractionMetadata | undefined>;
|
|
51
59
|
/**
|
|
52
60
|
* Whether the message mentions everyone
|
|
53
61
|
*/
|
|
54
|
-
|
|
62
|
+
get mentionedEveryone(): IfPartial<IsPartial, boolean>;
|
|
63
|
+
/**
|
|
64
|
+
* The users mentioned in the message
|
|
65
|
+
*/
|
|
66
|
+
get mentionedUsers(): IfPartial<IsPartial, User[]>;
|
|
67
|
+
/**
|
|
68
|
+
* The roles mentioned in the message
|
|
69
|
+
*/
|
|
70
|
+
get mentionedRoles(): IfPartial<IsPartial, Role<true>[]>;
|
|
55
71
|
/**
|
|
56
72
|
* The data about the referenced message. You can use {@link Message.referencedMessage} to get the referenced message itself.
|
|
57
73
|
*/
|
|
58
|
-
|
|
74
|
+
get messageReference(): IfPartial<IsPartial, APIMessageReference | undefined>;
|
|
75
|
+
/**
|
|
76
|
+
* The referenced message itself
|
|
77
|
+
*/
|
|
78
|
+
get referencedMessage(): IfPartial<IsPartial, Message | null>;
|
|
59
79
|
/**
|
|
60
80
|
* Whether the message is pinned
|
|
61
81
|
*/
|
|
62
|
-
|
|
82
|
+
get pinned(): IfPartial<IsPartial, boolean>;
|
|
63
83
|
/**
|
|
64
84
|
* The poll contained in the message
|
|
65
85
|
*/
|
|
66
|
-
|
|
86
|
+
get poll(): IfPartial<IsPartial, APIPoll | undefined>;
|
|
67
87
|
/**
|
|
68
88
|
* The approximate position of the message in the channel
|
|
69
89
|
*/
|
|
70
|
-
|
|
90
|
+
get position(): IfPartial<IsPartial, number | undefined>;
|
|
71
91
|
/**
|
|
72
92
|
* The reactions on the message
|
|
73
93
|
*/
|
|
74
|
-
|
|
94
|
+
get reactions(): IfPartial<IsPartial, APIReaction[]>;
|
|
75
95
|
/**
|
|
76
96
|
* The stickers in the message
|
|
77
97
|
*/
|
|
78
|
-
|
|
98
|
+
get stickers(): IfPartial<IsPartial, APIStickerItem[]>;
|
|
79
99
|
/**
|
|
80
100
|
* The timestamp of the original message
|
|
81
101
|
*/
|
|
82
|
-
|
|
102
|
+
get timestamp(): IfPartial<IsPartial, string>;
|
|
83
103
|
/**
|
|
84
104
|
* Whether the message is a TTS message
|
|
85
105
|
*/
|
|
86
|
-
|
|
106
|
+
get tts(): IfPartial<IsPartial, boolean>;
|
|
87
107
|
/**
|
|
88
108
|
* The type of the message
|
|
89
109
|
*/
|
|
90
|
-
|
|
110
|
+
get type(): IfPartial<IsPartial, MessageType>;
|
|
91
111
|
/**
|
|
92
|
-
*
|
|
112
|
+
* Get the author of the message
|
|
93
113
|
*/
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
});
|
|
100
|
-
private setData;
|
|
114
|
+
get author(): IfPartial<IsPartial, User | null>;
|
|
115
|
+
/**
|
|
116
|
+
* Get the thread associated with this message, if there is one
|
|
117
|
+
*/
|
|
118
|
+
get thread(): IfPartial<IsPartial, GuildThreadChannel<ChannelType.PublicThread | ChannelType.AnnouncementThread> | null>;
|
|
101
119
|
/**
|
|
102
120
|
* Fetch updated data for this message.
|
|
103
121
|
* If the message is partial, this will fetch all the data for the message and populate the fields.
|
|
@@ -108,14 +126,10 @@ export declare class Message extends Base {
|
|
|
108
126
|
* Delete this message from Discord
|
|
109
127
|
*/
|
|
110
128
|
delete(): Promise<unknown>;
|
|
111
|
-
/**
|
|
112
|
-
* Get the author of the message
|
|
113
|
-
*/
|
|
114
|
-
get author(): User | null;
|
|
115
129
|
/**
|
|
116
130
|
* Get the channel the message was sent in
|
|
117
131
|
*/
|
|
118
|
-
fetchChannel(): Promise<import("./DmChannel.js").DmChannel | import("./
|
|
132
|
+
fetchChannel(): Promise<import("./DmChannel.js").DmChannel<false> | import("./GroupDmChannel.js").GroupDmChannel<false> | import("./GuildTextChannel.js").GuildTextChannel<false> | import("./GuildStageOrVoiceChannel.js").GuildVoiceChannel<false> | import("./GuildCategoryChannel.js").GuildCategoryChannel<false> | import("./GuildAnnouncementChannel.js").GuildAnnouncementChannel<false> | GuildThreadChannel<import("discord-api-types/v10").ThreadChannelType, false> | import("./GuildStageOrVoiceChannel.js").GuildStageChannel<false> | import("./GuildForumChannel.js").GuildForumChannel<false> | import("./GuildMediaChannel.js").GuildMediaChannel | null>;
|
|
119
133
|
/**
|
|
120
134
|
* Pin this message
|
|
121
135
|
*/
|
|
@@ -128,17 +142,12 @@ export declare class Message extends Base {
|
|
|
128
142
|
* Start a thread with this message as the associated start message.
|
|
129
143
|
* If you want to start a thread without a start message, use {@link BaseGuildTextChannel.startThread}
|
|
130
144
|
*/
|
|
131
|
-
startThread(data: RESTPostAPIChannelThreadsJSONBody): Promise<GuildThreadChannel<import("discord-api-types/v10").ThreadChannelType>>;
|
|
132
|
-
get thread(): GuildThreadChannel<ChannelType.PublicThread | ChannelType.AnnouncementThread> | null;
|
|
133
|
-
get embeds(): Embed[];
|
|
145
|
+
startThread(data: RESTPostAPIChannelThreadsJSONBody): Promise<GuildThreadChannel<import("discord-api-types/v10").ThreadChannelType, false>>;
|
|
134
146
|
edit(data: {
|
|
135
147
|
content?: string;
|
|
136
148
|
embeds?: Embed[];
|
|
137
149
|
allowedMentions?: APIAllowedMentions;
|
|
138
150
|
components?: Row[];
|
|
139
151
|
}): Promise<void>;
|
|
140
|
-
get mentionedUsers(): User[];
|
|
141
|
-
get mentionedRoles(): Role[];
|
|
142
|
-
get referencedMessage(): Message | null;
|
|
143
152
|
}
|
|
144
153
|
//# sourceMappingURL=Message.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Message.d.ts","sourceRoot":"","sources":["../../../src/structures/Message.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,kBAAkB,EACvB,KAAK,aAAa,EAElB,KAAK,UAAU,EACf,KAAK,6BAA6B,EAClC,KAAK,mBAAmB,EACxB,KAAK,OAAO,EACZ,KAAK,WAAW,EAChB,KAAK,
|
|
1
|
+
{"version":3,"file":"Message.d.ts","sourceRoot":"","sources":["../../../src/structures/Message.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,kBAAkB,EACvB,KAAK,aAAa,EAElB,KAAK,UAAU,EACf,KAAK,6BAA6B,EAClC,KAAK,mBAAmB,EACxB,KAAK,OAAO,EACZ,KAAK,WAAW,EAChB,KAAK,cAAc,EAEnB,KAAK,WAAW,EAChB,KAAK,YAAY,EACjB,KAAK,WAAW,EAChB,KAAK,iCAAiC,EAEtC,MAAM,uBAAuB,CAAA;AA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