mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +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 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 };
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user