Merge pull request #32 from LeoMavri/main

Made Intents optional in Client constructor
This commit is contained in:
March 7th 2022-04-14 12:42:13 +07:00 committed by GitHub
commit 31f0252f62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
typings/index.d.ts vendored
View File

@ -4159,7 +4159,7 @@ export interface ClientOptions {
failIfNotExists?: boolean; failIfNotExists?: boolean;
userAgentSuffix?: string[]; userAgentSuffix?: string[];
presence?: PresenceData; presence?: PresenceData;
intents: BitFieldResolvable<IntentsString, number>; intents?: BitFieldResolvable<IntentsString, number>;
waitGuildTimeout?: number; waitGuildTimeout?: number;
sweepers?: SweeperOptions; sweepers?: SweeperOptions;
ws?: WebSocketOptions; ws?: WebSocketOptions;