@discordjs/core 3.0.0-dev.1748606734-762bbc652 → 3.0.0-dev.1748909645-d40ceedad
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/http-only.js +1 -1
- package/dist/http-only.js.map +1 -1
- package/dist/http-only.mjs +1 -1
- package/dist/http-only.mjs.map +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.mjs
CHANGED
|
@@ -3101,11 +3101,11 @@ var Client = class extends AsyncEventEmitter {
|
|
|
3101
3101
|
rest;
|
|
3102
3102
|
gateway;
|
|
3103
3103
|
api;
|
|
3104
|
-
constructor(
|
|
3104
|
+
constructor(options) {
|
|
3105
3105
|
super();
|
|
3106
|
-
this.rest = rest;
|
|
3107
|
-
this.gateway = gateway;
|
|
3108
|
-
this.api = new API(rest);
|
|
3106
|
+
this.rest = options.rest;
|
|
3107
|
+
this.gateway = options.gateway;
|
|
3108
|
+
this.api = new API(this.rest);
|
|
3109
3109
|
this.gateway.on(WebSocketShardEvents.Dispatch, (dispatch, shardId) => {
|
|
3110
3110
|
this.emit(dispatch.t, this.toEventProps(dispatch.d, shardId));
|
|
3111
3111
|
});
|
|
@@ -3326,7 +3326,7 @@ __name(withFiles, "withFiles");
|
|
|
3326
3326
|
|
|
3327
3327
|
// src/index.ts
|
|
3328
3328
|
export * from "discord-api-types/v10";
|
|
3329
|
-
var version = "3.0.0-dev.
|
|
3329
|
+
var version = "3.0.0-dev.1748909645-d40ceedad";
|
|
3330
3330
|
export {
|
|
3331
3331
|
API,
|
|
3332
3332
|
ApplicationCommandsAPI,
|