It works well when running on ts-node, but an error occurs when building.
node_modules/discord.js-selfbot-v13/typings/index.d.ts:55:3 - error TS2305: Module '"discord-api-types/v9"' has no
exported member 'LocalizedString'.
55 LocalizedString,
~~~~~~~~~~~~~~~
node_modules/discord.js-selfbot-v13/typings/index.d.ts:624:28 - error TS2315: Type 'String' is not generic.
624 public redeemNitro(code: String<NitroCode>): Promise;
~~~~~~~~~~~~~~~~~
node_modules/discord.js-selfbot-v13/typings/index.d.ts:624:35 - error TS2304: Cannot find name 'NitroCode'.
624 public redeemNitro(code: String<NitroCode>): Promise;
~~~~~~~~~
node_modules/discord.js-selfbot-v13/typings/index.d.ts:624:48 - error TS2314: Generic type 'Promise<T>' requires 1
type argument(s).
624 public redeemNitro(code: String<NitroCode>): Promise;
~~~~~~~
node_modules/discord.js-selfbot-v13/typings/index.d.ts:627:36 - error TS2304: Cannot find name 'DiscordAuthWebsocket'.
627 public QRLogin(debug?: boolean): DiscordAuthWebsocket;
~~~~~~~~~~~~~~~~~~~~
node_modules/discord.js-selfbot-v13/typings/index.d.ts:628:30 - error TS2304: Cannot find name 'VoiceConnection'.
628 public readonly callVoice: VoiceConnection | undefined;
~~~~~~~~~~~~~~~
node_modules/discord.js-selfbot-v13/typings/index.d.ts:695:29 - error TS2315: Type 'HypeSquadOptions' is not generic.
695 public setHypeSquad(type: HypeSquadOptions<number | string>): Promise<void>;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/discord.js-selfbot-v13/typings/index.d.ts:945:42 - error TS2304: Cannot find name 'VoiceConnection'.
945 public call(options?: object): Promise<VoiceConnection>;
~~~~~~~~~~~~~~~
node_modules/discord.js-selfbot-v13/typings/index.d.ts:1062:76 - error TS2304: Cannot find name 'FolderID'.
1062 public setPosition(position: number, type: 'FOLDER' | 'HOME', folderID?: FolderID): Promise<Guild>;
~~~~~~~~
node_modules/discord.js-selfbot-v13/typings/index.d.ts:1518:36 - error TS2315: Type 'Boolean' is not generic.
1518 public acceptInvite(autoVerify?: Boolean<true>): Promise<void>;
~~~~~~~~~~~~~
node_modules/discord.js-selfbot-v13/typings/index.d.ts:1557:42 - error TS2344: Type 'MappedInteractionTypes<Cached>[T]' does not satisfy the constraint 'ModalSubmitInteraction<CacheType> | MessageComponentInteraction<CacheType>'.
Type 'MessageComponentInteraction<If<Cached, "cached", CacheType>> | ButtonInteraction<If<Cached, "cached", CacheType>> | SelectMenuInteraction<...> | ModalSubmitInteraction<...>' is not assignable to type 'ModalSubmitInteraction<CacheType> | MessageComponentInteraction<CacheType>'.
Type 'ButtonInteraction<If<Cached, "cached", CacheType>>' is not assignable to type 'ModalSubmitInteraction<CacheType> | MessageComponentInteraction<CacheType>'.
Type 'ButtonInteraction<If<Cached, "cached", CacheType>>' is not assignable to type 'MessageComponentInteraction<CacheType>'.
Type 'MappedInteractionTypes<Cached>[T]' is not assignable to type 'MessageComponentInteraction<CacheType>'.
Type 'MessageComponentInteraction<If<Cached, "cached", CacheType>> | ButtonInteraction<If<Cached, "cached", CacheType>> | SelectMenuInteraction<...> | ModalSubmitInteraction<...>' is not assignable to type 'MessageComponentInteraction<CacheType>'.
Type 'ButtonInteraction<If<Cached, "cached", CacheType>>' is not assignable to type 'MessageComponentInteraction<CacheType>'.
Types of property 'channel' are incompatible.
Type 'CacheTypeReducer<If<Cached, "cached", CacheType>, GuildTextBasedChannel, GuildTextBasedChannel, GuildTextBasedChannel, TextBasedChannel>' is not assignable to type 'GuildTextBasedChannel'.
Type 'GuildTextBasedChannel | ([If<Cached, "cached", CacheType>] extends ["raw"] ? GuildTextBasedChannel : [If<Cached, "cached", CacheType>] extends [...] ? GuildTextBasedChannel : TextBasedChannel)' is not assignable to type 'GuildTextBasedChannel'.
Type '[If<Cached, "cached", CacheType>] extends ["raw"] ? GuildTextBasedChannel : [If<Cached, "cached", CacheType>] extends [...] ? GuildTextBasedChannel : TextBasedChannel' is not assignable to type 'GuildTextBasedChannel'.
Type 'GuildTextBasedChannel | ([If<Cached, "cached", CacheType>] extends ["raw" | "cached"] ? GuildTextBasedChannel : TextBasedChannel)' is not assignable to type 'GuildTextBasedChannel'.
Type '[If<Cached, "cached", CacheType>] extends ["raw" | "cached"] ? GuildTextBasedChannel
: TextBasedChannel' is not assignable to type 'GuildTextBasedChannel'.
Type 'DMChannel | PartialDMChannel | NewsChannel | TextChannel | ThreadChannel' is not assignable to type 'GuildTextBasedChannel'.
Type 'DMChannel' is not assignable to type 'GuildTextBasedChannel'.
Type 'DMChannel' is not assignable to type 'ThreadChannel'.
Type '[If<Cached, "cached", CacheType>] extends ["raw" | "cached"] ? GuildTextBasedChannel : TextBasedChannel' is not assignable to type 'ThreadChannel'.
Type 'DMChannel | PartialDMChannel | NewsChannel | TextChannel | ThreadChannel' is not assignable to type 'ThreadChannel'.
Type 'DMChannel' is missing the following properties from type 'ThreadChannel': archived, archivedAt, archiveTimestamp, _createdTimestamp, and 35 more.
Type '[If<Cached, "cached", CacheType>] extends ["raw"] ? GuildTextBasedChannel : [If<Cached, "cached", CacheType>] extends [...] ? GuildTextBasedChannel : TextBasedChannel' is not assignable
to type 'ThreadChannel'.
Type 'GuildTextBasedChannel | ([If<Cached, "cached", CacheType>] extends ["raw" | "cached"] ? GuildTextBasedChannel : TextBasedChannel)' is not assignable to type 'ThreadChannel'.
Type 'NewsChannel' is not assignable to type 'ThreadChannel'.
Type 'CacheTypeReducer<If<Cached, "cached", CacheType>, GuildTextBasedChannel, GuildTextBasedChannel, GuildTextBasedChannel, TextBasedChannel>' is not assignable to type 'ThreadChannel'. Type 'GuildTextBasedChannel | ([If<Cached, "cached", CacheType>] extends ["raw"] ? GuildTextBasedChannel : [If<Cached, "cached", CacheType>] extends [...] ? GuildTextBasedChannel : TextBasedChannel)' is not assignable to type 'ThreadChannel'.
Type 'NewsChannel' is missing the following properties from type 'ThreadChannel': archived, archivedAt, archiveTimestamp, _createdTimestamp, and 23 more.
1557 } & MessageComponentCollectorOptions<MappedInteractionTypes<Cached>[T]>;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/discord.js-selfbot-v13/typings/index.d.ts:1565:49 - error TS2344: Type 'MappedInteractionTypes<Cached>[T]' does not satisfy the constraint 'ModalSubmitInteraction<CacheType> | MessageComponentInteraction<CacheType>'.
Type 'MessageComponentInteraction<If<Cached, "cached", CacheType>> | ButtonInteraction<If<Cached, "cached", CacheType>> | SelectMenuInteraction<...> | ModalSubmitInteraction<...>' is not assignable to type 'ModalSubmitInteraction<CacheType> | MessageComponentInteraction<CacheType>'.
Type 'ButtonInteraction<If<Cached, "cached", CacheType>>' is not assignable to type 'ModalSubmitInteraction<CacheType> | MessageComponentInteraction<CacheType>'.
Type 'ButtonInteraction<If<Cached, "cached", CacheType>>' is not assignable to type 'MessageComponentInteraction<CacheType>'.
Type 'MappedInteractionTypes<Cached>[T]' is not assignable to type 'MessageComponentInteraction<CacheType>'.
Type 'MessageComponentInteraction<If<Cached, "cached", CacheType>> | ButtonInteraction<If<Cached, "cached", CacheType>> | SelectMenuInteraction<...> | ModalSubmitInteraction<...>' is not assignable to type 'MessageComponentInteraction<CacheType>'.
Type 'ButtonInteraction<If<Cached, "cached", CacheType>>' is not assignable to type 'MessageComponentInteraction<CacheType>'.
Types of property 'channel' are incompatible.
Type 'CacheTypeReducer<If<Cached, "cached", CacheType>, GuildTextBasedChannel, GuildTextBasedChannel, GuildTextBasedChannel, TextBasedChannel>' is not assignable to type 'GuildTextBasedChannel'.
Type 'GuildTextBasedChannel | ([If<Cached, "cached", CacheType>] extends ["raw"] ? GuildTextBasedChannel : [If<Cached, "cached", CacheType>] extends [...] ? GuildTextBasedChannel : TextBasedChannel)' is not assignable to type 'GuildTextBasedChannel'.
Type '[If<Cached, "cached", CacheType>] extends ["raw"] ? GuildTextBasedChannel : [If<Cached, "cached", CacheType>] extends [...] ? GuildTextBasedChannel : TextBasedChannel' is not assignable to type 'GuildTextBasedChannel'.
Type 'GuildTextBasedChannel | ([If<Cached, "cached", CacheType>] extends ["raw" | "cached"] ? GuildTextBasedChannel : TextBasedChannel)' is not assignable to type 'GuildTextBasedChannel'.
Type '[If<Cached, "cached", CacheType>] extends ["raw" | "cached"] ? GuildTextBasedChannel
: TextBasedChannel' is not assignable to type 'GuildTextBasedChannel'.
Type 'DMChannel | PartialDMChannel | NewsChannel | TextChannel | ThreadChannel' is not assignable to type 'GuildTextBasedChannel'.
Type '[If<Cached, "cached", CacheType>] extends ["raw" | "cached"] ? GuildTextBasedChannel : TextBasedChannel' is not assignable to type 'ThreadChannel'.
Type 'DMChannel | PartialDMChannel | NewsChannel | TextChannel | ThreadChannel' is not assignable to type 'ThreadChannel'.
Type '[If<Cached, "cached", CacheType>] extends ["raw"] ? GuildTextBasedChannel : [If<Cached, "cached", CacheType>] extends [...] ? GuildTextBasedChannel : TextBasedChannel' is not assignable to type 'ThreadChannel'.
Type 'GuildTextBasedChannel | ([If<Cached, "cached", CacheType>] extends ["raw" | "cached"] ? GuildTextBasedChannel : TextBasedChannel)' is not assignable to type 'ThreadChannel'.
Type 'NewsChannel' is not assignable to type 'ThreadChannel'.
Type 'CacheTypeReducer<If<Cached, "cached", CacheType>, GuildTextBasedChannel, GuildTextBasedChannel, GuildTextBasedChannel, TextBasedChannel>' is not assignable to type 'ThreadChannel'.
Type 'GuildTextBasedChannel | ([If<Cached, "cached", CacheType>] extends ["raw"] ? GuildTextBasedChannel : [If<Cached, "cached", CacheType>] extends [...] ? GuildTextBasedChannel : TextBasedChannel)' is not assignable to type 'ThreadChannel'.
Type 'NewsChannel' is not assignable to type 'ThreadChannel'.
1565 } & MessageChannelComponentCollectorOptions<MappedInteractionTypes<Cached>[T]>;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/discord.js-selfbot-v13/typings/index.d.ts:1572:35 - error TS2344: Type 'MappedInteractionTypes<Cached>[T]' does not satisfy the constraint 'Interaction<CacheType>'.
Type 'MessageComponentInteraction<If<Cached, "cached", CacheType>> | ButtonInteraction<If<Cached, "cached", CacheType>> | SelectMenuInteraction<...> | ModalSubmitInteraction<...>' is not assignable to type 'Interaction<CacheType>'.
Type 'MessageComponentInteraction<If<Cached, "cached", CacheType>>' is not assignable to type 'Interaction<CacheType>'.
Types of property 'channel' are incompatible.
Type 'CacheTypeReducer<If<Cached, "cached", CacheType>, GuildTextBasedChannel, GuildTextBasedChannel, GuildTextBasedChannel, TextBasedChannel>' is not assignable to type 'GuildTextBasedChannel'.
Type 'GuildTextBasedChannel | ([If<Cached, "cached", CacheType>] extends ["raw"] ? GuildTextBasedChannel
: [If<Cached, "cached", CacheType>] extends [...] ? GuildTextBasedChannel : TextBasedChannel)' is not assignable to type 'GuildTextBasedChannel'.
Type '[If<Cached, "cached", CacheType>] extends ["raw"] ? GuildTextBasedChannel : [If<Cached, "cached", CacheType>] extends [...] ? GuildTextBasedChannel : TextBasedChannel' is not assignable to type 'GuildTextBasedChannel'.
Type 'GuildTextBasedChannel | ([If<Cached, "cached", CacheType>] extends ["raw" | "cached"] ? GuildTextBasedChannel : TextBasedChannel)' is not assignable to type 'GuildTextBasedChannel'.
Type '[If<Cached, "cached", CacheType>] extends ["raw" | "cached"] ? GuildTextBasedChannel : TextBasedChannel' is not assignable to type 'GuildTextBasedChannel'.
Type 'DMChannel | PartialDMChannel | NewsChannel | TextChannel | ThreadChannel' is not assignable to type 'GuildTextBasedChannel'.
Type '[If<Cached, "cached", CacheType>] extends ["raw" | "cached"] ? GuildTextBasedChannel : TextBasedChannel' is not assignable to type 'ThreadChannel'.
Type 'DMChannel | PartialDMChannel | NewsChannel | TextChannel | ThreadChannel' is not assignable to type 'ThreadChannel'.
Type '[If<Cached, "cached", CacheType>] extends ["raw"] ? GuildTextBasedChannel : [If<Cached, "cached", CacheType>] extends [...] ? GuildTextBasedChannel : TextBasedChannel' is not assignable to type 'ThreadChannel'.
Type 'GuildTextBasedChannel | ([If<Cached, "cached", CacheType>] extends ["raw" | "cached"] ? GuildTextBasedChannel : TextBasedChannel)' is not assignable to type 'ThreadChannel'.
Type 'NewsChannel' is not assignable to type 'ThreadChannel'.
Type 'CacheTypeReducer<If<Cached, "cached", CacheType>, GuildTextBasedChannel, GuildTextBasedChannel, GuildTextBasedChannel, TextBasedChannel>' is not assignable to type 'ThreadChannel'.
Type 'GuildTextBasedChannel | ([If<Cached, "cached", CacheType>] extends ["raw"] ?
GuildTextBasedChannel : [If<Cached, "cached", CacheType>] extends [...] ? GuildTextBasedChannel : TextBasedChannel)' is not assignable to type 'ThreadChannel'.
Type 'NewsChannel' is not assignable to type 'ThreadChannel'.
1572 InteractionCollectorOptions<MappedInteractionTypes<Cached>[T]>,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/discord.js-selfbot-v13/typings/index.d.ts:1647:27 - error TS2344: Type 'MappedInteractionTypes<Cached>[T]' does not satisfy the constraint 'Interaction<CacheType>'.
Type 'MessageComponentInteraction<If<Cached, "cached", CacheType>> | ButtonInteraction<If<Cached, "cached", CacheType>> | SelectMenuInteraction<...> | ModalSubmitInteraction<...>' is not assignable to type 'Interaction<CacheType>'.
Type 'MessageComponentInteraction<If<Cached, "cached", CacheType>>' is not assignable to type 'Interaction<CacheType>'.
Types of property 'channel' are incompatible.
Type 'CacheTypeReducer<If<Cached, "cached", CacheType>, GuildTextBasedChannel, GuildTextBasedChannel, GuildTextBasedChannel, TextBasedChannel>' is not assignable to type 'GuildTextBasedChannel'.
Type 'GuildTextBasedChannel | ([If<Cached, "cached", CacheType>] extends ["raw"] ? GuildTextBasedChannel
: [If<Cached, "cached", CacheType>] extends [...] ? GuildTextBasedChannel : TextBasedChannel)' is not assignable to type 'GuildTextBasedChannel'.
Type '[If<Cached, "cached", CacheType>] extends ["raw"] ? GuildTextBasedChannel : [If<Cached, "cached", CacheType>] extends [...] ? GuildTextBasedChannel : TextBasedChannel' is not assignable to type 'GuildTextBasedChannel'.
Type 'GuildTextBasedChannel | ([If<Cached, "cached", CacheType>] extends ["raw" | "cached"] ? GuildTextBasedChannel : TextBasedChannel)' is not assignable to type 'GuildTextBasedChannel'.
Type '[If<Cached, "cached", CacheType>] extends ["raw" | "cached"] ? GuildTextBasedChannel : TextBasedChannel' is not assignable to type 'GuildTextBasedChannel'.
Type 'DMChannel | PartialDMChannel | NewsChannel | TextChannel | ThreadChannel' is not assignable to type 'GuildTextBasedChannel'.
Type '[If<Cached, "cached", CacheType>] extends ["raw" | "cached"] ? GuildTextBasedChannel : TextBasedChannel' is not assignable to type 'ThreadChannel'.
Type 'DMChannel | PartialDMChannel | NewsChannel | TextChannel | ThreadChannel' is not assignable to type 'ThreadChannel'.
Type '[If<Cached, "cached", CacheType>] extends ["raw"] ? GuildTextBasedChannel : [If<Cached, "cached", CacheType>] extends [...] ? GuildTextBasedChannel : TextBasedChannel' is not assignable to type 'ThreadChannel'.
Type 'GuildTextBasedChannel | ([If<Cached, "cached", CacheType>] extends ["raw" | "cached"] ? GuildTextBasedChannel : TextBasedChannel)' is not assignable to type 'ThreadChannel'.
Type 'NewsChannel' is not assignable to type 'ThreadChannel'.
Type 'CacheTypeReducer<If<Cached, "cached", CacheType>, GuildTextBasedChannel, GuildTextBasedChannel, GuildTextBasedChannel, TextBasedChannel>' is not assignable to type 'ThreadChannel'.
Type 'GuildTextBasedChannel | ([If<Cached, "cached", CacheType>] extends ["raw"] ?
GuildTextBasedChannel : [If<Cached, "cached", CacheType>] extends [...] ? GuildTextBasedChannel : TextBasedChannel)' is not assignable to type 'ThreadChannel'.
Type 'NewsChannel' is not assignable to type 'ThreadChannel'.
1647 ): InteractionCollector<MappedInteractionTypes<Cached>[T]>;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/discord.js-selfbot-v13/typings/index.d.ts:1668:32 - error TS2315: Type 'String' is not generic.
1668 public clickButton(buttonID: String<MessageButton.customId>): Promise<pending>;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/discord.js-selfbot-v13/typings/index.d.ts:1668:39 - error TS2713: Cannot access 'MessageButton.customId' because 'MessageButton' is a type, but not a namespace. Did you mean to retrieve the type of the property 'customId' in 'MessageButton' with 'MessageButton["customId"]'?
1668 public clickButton(buttonID: String<MessageButton.customId>): Promise<pending>;
~~~~~~~~~~~~~~~~~~~~~~
node_modules/discord.js-selfbot-v13/typings/index.d.ts:1668:73 - error TS2304: Cannot find name 'pending'.
1668 public clickButton(buttonID: String<MessageButton.customId>): Promise<pending>;
~~~~~~~
node_modules/discord.js-selfbot-v13/typings/index.d.ts:1669:29 - error TS2315: Type 'String' is not generic.
1669 public selectMenu(menuID: String<MessageSelectMenu.customId> | options[], options: string[]): Promise<pending>;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/discord.js-selfbot-v13/typings/index.d.ts:1669:36 - error TS2713: Cannot access 'MessageSelectMenu.customId' because 'MessageSelectMenu' is a type, but not a namespace. Did you mean to retrieve the type of the property 'customId' in 'MessageSelectMenu' with 'MessageSelectMenu["customId"]'?
1669 public selectMenu(menuID: String<MessageSelectMenu.customId> | options[], options: string[]): Promise<pending>;
~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/discord.js-selfbot-v13/typings/index.d.ts:1669:66 - error TS2749: 'options' refers to a value, but is
being used as a type here. Did you mean 'typeof options'?
1669 public selectMenu(menuID: String<MessageSelectMenu.customId> | options[], options: string[]): Promise<pending>;
~~~~~~~
node_modules/discord.js-selfbot-v13/typings/index.d.ts:1669:105 - error TS2304: Cannot find name 'pending'.
1669 public selectMenu(menuID: String<MessageSelectMenu.customId> | options[], options: string[]): Promise<pending>;
~~~~~~~
node_modules/discord.js-selfbot-v13/typings/index.d.ts:1670:29 - error TS2304: Cannot find name 'DiscordBotID'.
1670 public contextMenu(botID: DiscordBotID, commandName: String<ApplicationCommand.name>): Promise;
~~~~~~~~~~~~
node_modules/discord.js-selfbot-v13/typings/index.d.ts:1670:56 - error TS2315: Type 'String' is not generic.
1670 public contextMenu(botID: DiscordBotID, commandName: String<ApplicationCommand.name>): Promise;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/discord.js-selfbot-v13/typings/index.d.ts:1670:63 - error TS2713: Cannot access 'ApplicationCommand.name' because 'ApplicationCommand' is a type, but not a namespace. Did you mean to retrieve the type of the property
'name' in 'ApplicationCommand' with 'ApplicationCommand["name"]'?
1670 public contextMenu(botID: DiscordBotID, commandName: String<ApplicationCommand.name>): Promise;
~~~~~~~~~~~~~~~~~~~~~~~
node_modules/discord.js-selfbot-v13/typings/index.d.ts:1670:90 - error TS2314: Generic type 'Promise<T>' requires 1 type argument(s).
1670 public contextMenu(botID: DiscordBotID, commandName: String<ApplicationCommand.name>): Promise;
~~~~~~~
node_modules/discord.js-selfbot-v13/typings/index.d.ts:2060:22 - error TS2314: Generic type 'Collection<K, V>' requires 2 type argument(s).
2060 public recipients: Collection<User>;
~~~~~~~~~~~~~~~~
node_modules/discord.js-selfbot-v13/typings/index.d.ts:2061:20 - error TS2315: Type 'MessageManager' is not generic.
2061 public messages: MessageManager<PartialGroupDMChannel>;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/discord.js-selfbot-v13/typings/index.d.ts:2062:30 - error TS2713: Cannot access 'Invite.code' because
'Invite' is a type, but not a namespace. Did you mean to retrieve the type of the property 'code' in 'Invite' with
'Invite["code"]'?
2062 public invites: Collection<Invite.code, Invite>;
~~~~~~~~~~~
node_modules/discord.js-selfbot-v13/typings/index.d.ts:2064:28 - error TS2315: Type 'String' is not generic.
2064 public lastPinTimestamp: String<number> | null;
~~~~~~~~~~~~~~
node_modules/discord.js-selfbot-v13/typings/index.d.ts:2073:47 - error TS2713: Cannot access 'PartialGroupDMChannel.invites' because 'PartialGroupDMChannel' is a type, but not a namespace. Did you mean to retrieve the type of the
property 'invites' in 'PartialGroupDMChannel' with 'PartialGroupDMChannel["invites"]'?
2073 public fetchInvite(force: boolean): Promise<PartialGroupDMChannel.invites>;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/discord.js-selfbot-v13/typings/index.d.ts:2076:42 - error TS2304: Cannot find name 'VoiceConnection'.
2076 public call(options?: object): Promise<VoiceConnection>;
~~~~~~~~~~~~~~~
node_modules/discord.js-selfbot-v13/typings/index.d.ts:2675:38 - error TS2304: Cannot find name 'array'.
2675 public readonly connectedAccounts: array<object>;
~~~~~
node_modules/discord.js-selfbot-v13/typings/index.d.ts:3173:71 - error TS1016: A required parameter cannot follow an optional parameter.
3173 protected constructor(client: Client, iterable?: Iterable<unknown>, user: User);
~~~~
node_modules/discord.js-selfbot-v13/typings/index.d.ts:3309:58 - error TS2304: Cannot find name 'ClientUserSetting'.
3309 public setDisplayCompactMode(value?: boolean): Promise<ClientUserSetting>;
~~~~~~~~~~~~~~~~~
node_modules/discord.js-selfbot-v13/typings/index.d.ts:3310:54 - error TS2304: Cannot find name 'ClientUserSetting'.
3310 public setTheme(value?: 'dark' | 'light'): Promise<ClientUserSetting>;
~~~~~~~~~~~~~~~~~
node_modules/discord.js-selfbot-v13/typings/index.d.ts:3311:51 - error TS2304: Cannot find name 'ClientUserSetting'.
3311 public setLocale(value: localeSetting): Promise<ClientUserSetting>;
~~~~~~~~~~~~~~~~~
node_modules/discord.js-selfbot-v13/typings/index.d.ts:3312:34 - error TS2304: Cannot find name 'CustomStatusOption'.
3312 public setCustomStatus(value?: CustomStatusOption): Promise<ClientUserSetting>;
~~~~~~~~~~~~~~~~~~
node_modules/discord.js-selfbot-v13/typings/index.d.ts:3312:63 - error TS2304: Cannot find name 'ClientUserSetting'.
3312 public setCustomStatus(value?: CustomStatusOption): Promise<ClientUserSetting>;
~~~~~~~~~~~~~~~~~
node_modules/discord.js-selfbot-v13/typings/index.d.ts:3313:45 - error TS2314: Generic type 'Promise<T>' requires 1 type argument(s).
3313 public restrictedGuilds(status: boolean): Promise;
~~~~~~~
node_modules/discord.js-selfbot-v13/typings/index.d.ts:3314:38 - error TS2304: Cannot find name 'GuildIdResolvable'.
3314 public addRestrictedGuild(guildId: GuildIdResolvable): Promise;
~~~~~~~~~~~~~~~~~
node_modules/discord.js-selfbot-v13/typings/index.d.ts:3314:58 - error TS2314: Generic type 'Promise<T>' requires 1 type argument(s).
3314 public addRestrictedGuild(guildId: GuildIdResolvable): Promise;
~~~~~~~
node_modules/discord.js-selfbot-v13/typings/index.d.ts:3315:41 - error TS2304: Cannot find name 'GuildIdResolvable'.
3315 public removeRestrictedGuild(guildId: GuildIdResolvable): Promise;
~~~~~~~~~~~~~~~~~
node_modules/discord.js-selfbot-v13/typings/index.d.ts:3315:61 - error TS2314: Generic type 'Promise<T>' requires 1 type argument(s).
3315 public removeRestrictedGuild(guildId: GuildIdResolvable): Promise;
~~~~~~~
node_modules/discord.js-selfbot-v13/typings/index.d.ts:3637:47 - error TS2304: Cannot find name 'RawRelationship'.
3637 private constructor(client: Client, users?: RawRelationship[]);
~~~~~~~~~~~~~~~
node_modules/discord.js-selfbot-v13/typings/index.d.ts:3640:25 - error TS2304: Cannot find name 'RawRelationship'.
3640 private _setup(users: RawRelationship[]): null;
~~~~~~~~~~~~~~~
node_modules/discord.js-selfbot-v13/typings/index.d.ts:3644:38 - error TS2713: Cannot access 'User.username' because 'User' is a type, but not a namespace. Did you mean to retrieve the type of the property 'username' in 'User' with 'User["username"]'?
3644 public sendFriendRequest(username: User.username, discriminator: User.discriminator): Promise<User>;
~~~~~~~~~~~~~
node_modules/discord.js-selfbot-v13/typings/index.d.ts:3644:68 - error TS2713: Cannot access 'User.discriminator' because 'User' is a type, but not a namespace. Did you mean to retrieve the type of the property 'discriminator' in
'User' with 'User["discriminator"]'?
3644 public sendFriendRequest(username: User.username, discriminator: User.discriminator): Promise<User>;
~~~~~~~~~~~~~~~~~~
node_modules/discord.js-selfbot-v13/typings/index.d.ts:3938:11 - error TS2304: Cannot find name 'UserId'.
3938 botID?: UserId[];
~~~~~~
node_modules/discord.js-selfbot-v13/typings/index.d.ts:4158:25 - error TS8020: JSDoc types can only be used inside
documentation comments.
4158 contact_sync_enabled: ?boolean;
~~~~~~~~
node_modules/discord.js-selfbot-v13/typings/index.d.ts:4171:21 - error TS2304: Cannot find name 'T'.
4171 guild_positions?: T[];
~
node_modules/discord.js-selfbot-v13/typings/index.d.ts:4208:3 - error TS2687: All declarations of 'intents' must have identical modifiers.
4208 intents?: BitFieldResolvable<IntentsString, number>;
~~~~~~~
node_modules/discord.js-selfbot-v13/typings/index.d.ts:4648:3 - error TS2717: Subsequent property declarations must have the same type. Property 'threadCreate' must be of type '[thread: ThreadChannel]', but here has type '[thread: ThreadChannel, newlyCreated: boolean]'.
4648 threadCreate: [thread: ThreadChannel, newlyCreated: boolean];
~~~~~~~~~~~~
node_modules/discord.js-selfbot-v13/typings/index.d.ts:4003:3
4003 threadCreate: [thread: ThreadChannel];
~~~~~~~~~~~~
'threadCreate' was also declared here.
node_modules/discord.js-selfbot-v13/typings/index.d.ts:4663:3 - error TS2717: Subsequent property declarations must have the same type. Property 'interactionCreate' must be of type '[interaction: Interaction<CacheType> | { nonce: string; id: string; }]', but here has type '[interaction: Interaction<CacheType>]'.
4663 interactionCreate: [interaction: Interaction];
~~~~~~~~~~~~~~~~~
node_modules/discord.js-selfbot-v13/typings/index.d.ts:4019:3
4019 interactionCreate: [interaction: Interaction | { nonce: Snowflake; id: Snowflake }];
~~~~~~~~~~~~~~~~~
'interactionCreate' was also declared here.
node_modules/discord.js-selfbot-v13/typings/index.d.ts:4706:3 - error TS2687: All declarations of 'intents' must have identical modifiers.
4706 intents: BitFieldResolvable<IntentsString, number>;
~~~~~~~
node_modules/discord.js-selfbot-v13/typings/index.d.ts:5050:12 - error TS2304: Cannot find name 'LocaleString'.
5050 locale?: LocaleString;
~~~~~~~~~~~~
Found 55 errors in the same file, starting at: node_modules/discord.js-selfbot-v13/typings/index.d.ts:55