Archived
0
0
Fork 0

feat(types): made gateway intents optional

This commit is contained in:
Daryl Ronningen 2021-07-16 20:30:50 -07:00
parent e3d1dc1eed
commit dfe63a90fe
Signed by: Daryl Ronningen
GPG key ID: FD23F0C934A5EC6B

View file

@ -11,7 +11,7 @@ export interface IApiClientOptions {
export interface IClientOptions {
api?: IApiClientOptions;
presence?: IUpdatePresence;
ws: IWebSocketClientOptions;
ws?: IWebSocketClientOptions;
}
export interface IDefaultOptions {
@ -71,7 +71,7 @@ export interface IUpdatePresence {
export interface IWebSocketClientOptions {
compression?: boolean;
encoding?: 'json';
intents: number;
intents?: number;
largeThreshold?: number;
url?: string;
version?: number;