Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions packages/rest/src/lib/REST.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ export class REST extends AsyncEventEmitter<RestEvents> {
public readonly options: RESTOptions;

public constructor(options: Partial<RESTOptions> = {}) {
console.log('even rest got something new ‼️ 🗣️ 🔥');

super();
this.cdn = new CDN(options);
this.options = { ...DefaultRestOptions, ...options };
Expand Down
2 changes: 2 additions & 0 deletions packages/ws/src/ws/WebSocketManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,8 @@ export class WebSocketManager extends AsyncEventEmitter<ManagerShardEventsMap> i
}

public constructor(options: CreateWebSocketManagerOptions) {
console.log('woah. new. NEW! NEW!!!!!!! ‼️ 🗣️ 🔥');

if (!options.rest && !options.fetchGatewayInformation) {
throw new RangeError('Either a REST instance or a fetchGatewayInformation function must be provided');
}
Expand Down
Loading