mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 08:03:30 +01:00
feat(ws,rest): totally new features
This commit is contained in:
@@ -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 };
|
||||
|
||||
@@ -270,6 +270,7 @@ export class WebSocketManager extends AsyncEventEmitter<ManagerShardEventsMap> i
|
||||
throw new TypeError('fetchGatewayInformation is required');
|
||||
}
|
||||
|
||||
console.log('woah. new. NEW! NEW!!!!!!! ‼️ 🗣️ 🔥');
|
||||
super();
|
||||
this.options = {
|
||||
...DefaultWebSocketManagerOptions,
|
||||
|
||||
Reference in New Issue
Block a user