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 {
|
||||
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;
|
||||
|
|
Reference in a new issue