disgroove 2.1.3 → 2.2.0-dev.301452e
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/Client.d.ts +649 -204
- package/dist/lib/Client.js +917 -716
- package/dist/lib/constants.d.ts +1 -1
- package/dist/lib/constants.js +7 -7
- package/dist/lib/gateway/Shard.d.ts +2 -1
- package/dist/lib/gateway/Shard.js +279 -62
- package/dist/lib/index.d.ts +25 -1
- package/dist/lib/index.js +25 -1
- package/dist/lib/rest/CDN.d.ts +21 -20
- package/dist/lib/rest/Endpoints.d.ts +82 -81
- package/dist/lib/rest/RequestManager.d.ts +7 -0
- package/dist/lib/rest/RequestManager.js +1 -5
- package/dist/lib/types/application-command.d.ts +19 -92
- package/dist/lib/types/application-role-connection-metadata.d.ts +1 -1
- package/dist/lib/types/application.d.ts +10 -19
- package/dist/lib/types/audit-log.d.ts +21 -14
- package/dist/lib/types/auto-moderation.d.ts +13 -32
- package/dist/lib/types/channel.d.ts +91 -186
- package/dist/lib/types/common.d.ts +4 -0
- package/dist/lib/types/common.js +2 -0
- package/dist/lib/types/emoji.d.ts +6 -14
- package/dist/lib/types/entitlements.d.ts +17 -21
- package/dist/lib/types/gateway-events.d.ts +158 -149
- package/dist/lib/types/guild-scheduled-event.d.ts +19 -40
- package/dist/lib/types/guild-template.d.ts +11 -21
- package/dist/lib/types/guild.d.ts +64 -217
- package/dist/lib/types/interaction.d.ts +37 -31
- package/dist/lib/types/invite.d.ts +9 -4
- package/dist/lib/types/message-components.d.ts +4 -3
- package/dist/lib/types/role.d.ts +9 -8
- package/dist/lib/types/sku.d.ts +5 -4
- package/dist/lib/types/stage-instance.d.ts +9 -19
- package/dist/lib/types/sticker.d.ts +18 -29
- package/dist/lib/types/team.d.ts +8 -7
- package/dist/lib/types/user.d.ts +10 -32
- package/dist/lib/types/voice.d.ts +12 -11
- package/dist/lib/types/webhook.d.ts +13 -44
- package/dist/lib/utils/Util.d.ts +88 -2
- package/dist/lib/utils/Util.js +2137 -29
- package/dist/package.json +3 -3
- package/package.json +1 -1
- package/dist/lib/types/index.d.ts +0 -26
- package/dist/lib/types/index.js +0 -40
package/dist/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "disgroove",
|
3
|
-
"version": "2.
|
3
|
+
"version": "2.2.0-dev.301452e",
|
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
|
}
|
package/package.json
CHANGED
@@ -1,26 +0,0 @@
|
|
1
|
-
import type { Locales } from "../constants";
|
2
|
-
export * from "./application-command";
|
3
|
-
export * from "./application-role-connection-metadata";
|
4
|
-
export * from "./application";
|
5
|
-
export * from "./audit-log";
|
6
|
-
export * from "./auto-moderation";
|
7
|
-
export * from "./channel";
|
8
|
-
export * from "./emoji";
|
9
|
-
export * from "./entitlements";
|
10
|
-
export * from "./gateway-events";
|
11
|
-
export * from "./guild-scheduled-event";
|
12
|
-
export * from "./guild-template";
|
13
|
-
export * from "./guild";
|
14
|
-
export * from "./interaction";
|
15
|
-
export * from "./invite";
|
16
|
-
export * from "./message-components";
|
17
|
-
export * from "./poll";
|
18
|
-
export * from "./role";
|
19
|
-
export * from "./sku";
|
20
|
-
export * from "./stage-instance";
|
21
|
-
export * from "./sticker";
|
22
|
-
export * from "./team";
|
23
|
-
export * from "./user";
|
24
|
-
export * from "./voice";
|
25
|
-
export * from "./webhook";
|
26
|
-
export type LocaleMap = Partial<Record<Locales, string>>;
|
package/dist/lib/types/index.js
DELETED
@@ -1,40 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
-
if (k2 === undefined) k2 = k;
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
-
}
|
8
|
-
Object.defineProperty(o, k2, desc);
|
9
|
-
}) : (function(o, m, k, k2) {
|
10
|
-
if (k2 === undefined) k2 = k;
|
11
|
-
o[k2] = m[k];
|
12
|
-
}));
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
-
};
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
-
__exportStar(require("./application-command"), exports);
|
18
|
-
__exportStar(require("./application-role-connection-metadata"), exports);
|
19
|
-
__exportStar(require("./application"), exports);
|
20
|
-
__exportStar(require("./audit-log"), exports);
|
21
|
-
__exportStar(require("./auto-moderation"), exports);
|
22
|
-
__exportStar(require("./channel"), exports);
|
23
|
-
__exportStar(require("./emoji"), exports);
|
24
|
-
__exportStar(require("./entitlements"), exports);
|
25
|
-
__exportStar(require("./gateway-events"), exports);
|
26
|
-
__exportStar(require("./guild-scheduled-event"), exports);
|
27
|
-
__exportStar(require("./guild-template"), exports);
|
28
|
-
__exportStar(require("./guild"), exports);
|
29
|
-
__exportStar(require("./interaction"), exports);
|
30
|
-
__exportStar(require("./invite"), exports);
|
31
|
-
__exportStar(require("./message-components"), exports);
|
32
|
-
__exportStar(require("./poll"), exports);
|
33
|
-
__exportStar(require("./role"), exports);
|
34
|
-
__exportStar(require("./sku"), exports);
|
35
|
-
__exportStar(require("./stage-instance"), exports);
|
36
|
-
__exportStar(require("./sticker"), exports);
|
37
|
-
__exportStar(require("./team"), exports);
|
38
|
-
__exportStar(require("./user"), exports);
|
39
|
-
__exportStar(require("./voice"), exports);
|
40
|
-
__exportStar(require("./webhook"), exports);
|