disgroove 2.1.3-dev.2892c1f → 2.1.3
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/lib/constants.d.ts
CHANGED
@@ -312,7 +312,8 @@ export declare enum MessageTypes {
|
|
312
312
|
GuildIncidentAlertModeEnabled = 36,
|
313
313
|
GuildIncidentAlertModeDisabled = 37,
|
314
314
|
GuildIncidentReportRaid = 38,
|
315
|
-
GuildIncidentReportFalseAlarm = 39
|
315
|
+
GuildIncidentReportFalseAlarm = 39,
|
316
|
+
PurchaseNotification = 44
|
316
317
|
}
|
317
318
|
/** https://discord.com/developers/docs/resources/channel#message-object-message-activity-types */
|
318
319
|
export declare enum MessageActivityTypes {
|
@@ -1104,6 +1105,7 @@ export declare const BitwisePermissionFlags: {
|
|
1104
1105
|
readonly UseExternalSounds: bigint;
|
1105
1106
|
readonly SendVoiceMessages: bigint;
|
1106
1107
|
readonly SendPolls: bigint;
|
1108
|
+
readonly UseExternalApps: bigint;
|
1107
1109
|
};
|
1108
1110
|
/** https://discord.com/developers/docs/topics/permissions#role-object-role-flags */
|
1109
1111
|
export declare enum RoleFlags {
|
package/dist/lib/constants.js
CHANGED
@@ -342,6 +342,7 @@ var MessageTypes;
|
|
342
342
|
MessageTypes[MessageTypes["GuildIncidentAlertModeDisabled"] = 37] = "GuildIncidentAlertModeDisabled";
|
343
343
|
MessageTypes[MessageTypes["GuildIncidentReportRaid"] = 38] = "GuildIncidentReportRaid";
|
344
344
|
MessageTypes[MessageTypes["GuildIncidentReportFalseAlarm"] = 39] = "GuildIncidentReportFalseAlarm";
|
345
|
+
MessageTypes[MessageTypes["PurchaseNotification"] = 44] = "PurchaseNotification";
|
345
346
|
})(MessageTypes || (exports.MessageTypes = MessageTypes = {}));
|
346
347
|
/** https://discord.com/developers/docs/resources/channel#message-object-message-activity-types */
|
347
348
|
var MessageActivityTypes;
|
@@ -1181,6 +1182,7 @@ exports.BitwisePermissionFlags = {
|
|
1181
1182
|
UseExternalSounds: 1n << 45n,
|
1182
1183
|
SendVoiceMessages: 1n << 46n,
|
1183
1184
|
SendPolls: 1n << 49n,
|
1185
|
+
UseExternalApps: 1n << 50n,
|
1184
1186
|
};
|
1185
1187
|
/** https://discord.com/developers/docs/topics/permissions#role-object-role-flags */
|
1186
1188
|
var RoleFlags;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import type { ActivityFlags, ActivityType, GuildMemberFlags, InviteTargetTypes, ReactionTypes, StatusTypes, TriggerTypes } from "../constants";
|
2
|
-
import type { RawApplication, RawAutoModerationAction, RawChannel, RawEmoji, RawGuildMember, RawThreadMember, RawUser, AutoModerationAction, ThreadMember, Channel, Emoji, User, GuildMember, RawVoiceState, RawStageInstance, RawGuildScheduledEvent, VoiceState, StageInstance, GuildScheduledEvent, Application } from ".";
|
2
|
+
import type { RawApplication, RawAutoModerationAction, RawChannel, RawEmoji, RawGuildMember, RawThreadMember, RawUser, AutoModerationAction, ThreadMember, Channel, Emoji, User, GuildMember, RawVoiceState, RawStageInstance, RawGuildScheduledEvent, VoiceState, StageInstance, GuildScheduledEvent, Application, RawAvatarDecorationData, AvatarDecorationData } from ".";
|
3
3
|
/** https://discord.com/developers/docs/topics/gateway-events#auto-moderation-action-execution-auto-moderation-action-execution-event-fields */
|
4
4
|
export interface RawAutoModerationActionExectionEventFields {
|
5
5
|
guild_id: string;
|
@@ -94,6 +94,7 @@ export interface RawGuildMemberUpdateEventFields {
|
|
94
94
|
pending?: boolean;
|
95
95
|
communication_disabled_until?: number | null;
|
96
96
|
flags?: GuildMemberFlags;
|
97
|
+
avatar_decoration_data?: RawAvatarDecorationData | null;
|
97
98
|
}
|
98
99
|
/** https://discord.com/developers/docs/topics/gateway-events#guild-members-chunk-guild-members-chunk-event-fields */
|
99
100
|
export interface RawGuildMembersChunkEventFields {
|
@@ -364,6 +365,7 @@ export interface GuildMemberUpdateEventFields {
|
|
364
365
|
pending?: boolean;
|
365
366
|
communicationDisabledUntil?: number | null;
|
366
367
|
flags?: GuildMemberFlags;
|
368
|
+
avatarDecorationData?: AvatarDecorationData | null;
|
367
369
|
}
|
368
370
|
export interface GuildMembersChunkEventFields {
|
369
371
|
guildId: string;
|
package/dist/lib/types/user.d.ts
CHANGED
@@ -20,6 +20,11 @@ export interface RawUser {
|
|
20
20
|
public_flags?: UserFlags;
|
21
21
|
avatar_decoration?: string | null;
|
22
22
|
}
|
23
|
+
/** https://discord.com/developers/docs/resources/user#avatar-decoration-data-object-avatar-decoration-data-structure */
|
24
|
+
export interface RawAvatarDecorationData {
|
25
|
+
asset: string;
|
26
|
+
sku_id: string;
|
27
|
+
}
|
23
28
|
/** https://discord.com/developers/docs/resources/user#connection-object-connection-structure */
|
24
29
|
export interface RawConnection {
|
25
30
|
id: string;
|
@@ -58,6 +63,10 @@ export interface User {
|
|
58
63
|
publicFlags?: UserFlags;
|
59
64
|
avatarDecoration?: string | null;
|
60
65
|
}
|
66
|
+
export interface AvatarDecorationData {
|
67
|
+
asset: string;
|
68
|
+
skuId: string;
|
69
|
+
}
|
61
70
|
export interface Connection {
|
62
71
|
id: string;
|
63
72
|
name: string;
|
package/dist/package.json
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "disgroove",
|
3
|
-
"version": "2.1.3
|
3
|
+
"version": "2.1.3",
|
4
4
|
"description": "A module to interface with Discord",
|
5
5
|
"main": "./dist/lib/index.js",
|
6
6
|
"types": "./dist/lib/index.d.ts",
|
@@ -22,11 +22,11 @@
|
|
22
22
|
},
|
23
23
|
"homepage": "https://github.com/XenKys/disgroove#readme",
|
24
24
|
"devDependencies": {
|
25
|
-
"@types/node": "^20.
|
25
|
+
"@types/node": "^20.14.6",
|
26
26
|
"@types/ws": "^8.5.10",
|
27
27
|
"typescript": "^5.4.5"
|
28
28
|
},
|
29
29
|
"dependencies": {
|
30
|
-
"ws": "^8.17.
|
30
|
+
"ws": "^8.17.1"
|
31
31
|
}
|
32
32
|
}
|