feat(ws,rest): totally new features

This commit is contained in:
didinele
2025-07-19 21:21:52 +03:00
parent 9bf1f739e0
commit e636950b28
2 changed files with 3 additions and 0 deletions

View File

@@ -77,6 +77,8 @@ export class REST extends AsyncEventEmitter<RestEvents> {
public readonly options: RESTOptions; public readonly options: RESTOptions;
public constructor(options: Partial<RESTOptions> = {}) { public constructor(options: Partial<RESTOptions> = {}) {
console.log('even rest got something new ‼️ 🗣️ 🔥');
super(); super();
this.cdn = new CDN(options); this.cdn = new CDN(options);
this.options = { ...DefaultRestOptions, ...options }; this.options = { ...DefaultRestOptions, ...options };

View File

@@ -270,6 +270,7 @@ export class WebSocketManager extends AsyncEventEmitter<ManagerShardEventsMap> i
throw new TypeError('fetchGatewayInformation is required'); throw new TypeError('fetchGatewayInformation is required');
} }
console.log('woah. new. NEW! NEW!!!!!!! ‼️ 🗣️ 🔥');
super(); super();
this.options = { this.options = {
...DefaultWebSocketManagerOptions, ...DefaultWebSocketManagerOptions,