feat(types): made gateway intents optional
This commit is contained in:
parent
e3d1dc1eed
commit
dfe63a90fe
1 changed files with 2 additions and 2 deletions
|
@ -11,7 +11,7 @@ export interface IApiClientOptions {
|
||||||
export interface IClientOptions {
|
export interface IClientOptions {
|
||||||
api?: IApiClientOptions;
|
api?: IApiClientOptions;
|
||||||
presence?: IUpdatePresence;
|
presence?: IUpdatePresence;
|
||||||
ws: IWebSocketClientOptions;
|
ws?: IWebSocketClientOptions;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface IDefaultOptions {
|
export interface IDefaultOptions {
|
||||||
|
@ -71,7 +71,7 @@ export interface IUpdatePresence {
|
||||||
export interface IWebSocketClientOptions {
|
export interface IWebSocketClientOptions {
|
||||||
compression?: boolean;
|
compression?: boolean;
|
||||||
encoding?: 'json';
|
encoding?: 'json';
|
||||||
intents: number;
|
intents?: number;
|
||||||
largeThreshold?: number;
|
largeThreshold?: number;
|
||||||
url?: string;
|
url?: string;
|
||||||
version?: number;
|
version?: number;
|
||||||
|
|
Reference in a new issue