Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@vps:/revcord# npm install && npm run build
- npm WARN deprecated node-pre-gyp@0.11.0: Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future
- added 181 packages, and audited 182 packages in 1m
- 8 packages are looking for funding
- run `npm fund` for details
- 2 vulnerabilities (1 moderate, 1 high)
- To address all issues, run:
- npm audit fix
- Run `npm audit` for details.
- > revcord@1.1.1 build
- > tsc
- node_modules/discord.js/typings/index.d.ts:1503: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 : [...] 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 | VoiceChannel' is not assignable to type 'GuildTextBasedChannel'.
- Type 'DMChannel' is not assignable to type 'GuildTextBasedChannel'.
- Type 'DMChannel' is missing the following properties from type 'ThreadChannel': archived, archivedAt, archiveTimestamp, _createdTimestamp, and 35 more.
- Type '[If<Cached, "cached", CacheType>] extends ["raw" | "cached"] ? GuildTextBasedChannel : TextBasedChannel' is not assignable to type 'VoiceChannel'.
- Type 'DMChannel | PartialDMChannel | NewsChannel | TextChannel | ThreadChannel | VoiceChannel' is not assignable to type 'VoiceChannel'.
- Type 'DMChannel' is missing the following properties from type 'VoiceChannel': videoQualityMode, editable, speakable, rateLimitPerUser, and 40 more.
- Type '[If<Cached, "cached", CacheType>] extends ["raw"] ? GuildTextBasedChannel : [If<Cached, "cached", CacheType>] extends [...] ? GuildTextBasedChannel : TextBasedChannel' is not assignable to type 'VoiceChannel'.
- Type 'GuildTextBasedChannel | ([If<Cached, "cached", CacheType>] extends ["raw" | "cached"] ? GuildTextBasedChannel : TextBasedChannel)' is not assignable to type 'VoiceChannel'.
- Type 'NewsChannel' is not assignable to type 'VoiceChannel'.
- Type 'CacheTypeReducer<If<Cached, "cached", CacheType>, GuildTextBasedChannel, GuildTextBasedChannel, GuildTextBasedChannel, TextBasedChannel>' is not assignable to type 'VoiceChannel'.
- Type 'GuildTextBasedChannel | ([If<Cached, "cached", CacheType>] extends ["raw"] ? GuildTextBasedChannel : [...] extends [...] ? GuildTextBasedChannel : TextBasedChannel)' is not assignable to type 'VoiceChannel'.
- Type 'NewsChannel' is missing the following properties from type 'VoiceChannel': videoQualityMode, editable, speakable, setBitrate, and 8 more.
- 1503 } & MessageComponentCollectorOptions<MappedInteractionTypes<Cached>[T]>;
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- node_modules/discord.js/typings/index.d.ts:1511: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 : [...] 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 | VoiceChannel' is not assignable to type 'GuildTextBasedChannel'.
- Type '[If<Cached, "cached", CacheType>] extends ["raw" | "cached"] ? GuildTextBasedChannel : TextBasedChannel' is not assignable to type 'VoiceChannel'.
- Type 'DMChannel | PartialDMChannel | NewsChannel | TextChannel | ThreadChannel | VoiceChannel' is not assignable to type 'VoiceChannel'.
- Type '[If<Cached, "cached", CacheType>] extends ["raw"] ? GuildTextBasedChannel : [If<Cached, "cached", CacheType>] extends [...] ? GuildTextBasedChannel : TextBasedChannel' is not assignable to type 'VoiceChannel'.
- Type 'GuildTextBasedChannel | ([If<Cached, "cached", CacheType>] extends ["raw" | "cached"] ? GuildTextBasedChannel : TextBasedChannel)' is not assignable to type 'VoiceChannel'.
- Type 'NewsChannel' is not assignable to type 'VoiceChannel'.
- Type 'CacheTypeReducer<If<Cached, "cached", CacheType>, GuildTextBasedChannel, GuildTextBasedChannel, GuildTextBasedChannel, TextBasedChannel>' is not assignable to type 'VoiceChannel'.
- Type 'GuildTextBasedChannel | ([If<Cached, "cached", CacheType>] extends ["raw"] ? GuildTextBasedChannel : [...] extends [...] ? GuildTextBasedChannel : TextBasedChannel)' is not assignable to type 'VoiceChannel'.
- Type 'NewsChannel' is not assignable to type 'VoiceChannel'.
- 1511 } & MessageChannelComponentCollectorOptions<MappedInteractionTypes<Cached>[T]>;
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- node_modules/discord.js/typings/index.d.ts:1518: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 : [...] 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 | VoiceChannel' is not assignable to type 'GuildTextBasedChannel'.
- Type '[If<Cached, "cached", CacheType>] extends ["raw" | "cached"] ? GuildTextBasedChannel : TextBasedChannel' is not assignable to type 'VoiceChannel'.
- Type 'DMChannel | PartialDMChannel | NewsChannel | TextChannel | ThreadChannel | VoiceChannel' is not assignable to type 'VoiceChannel'.
- Type '[If<Cached, "cached", CacheType>] extends ["raw"] ? GuildTextBasedChannel : [If<Cached, "cached", CacheType>] extends [...] ? GuildTextBasedChannel : TextBasedChannel' is not assignable to type 'VoiceChannel'.
- Type 'GuildTextBasedChannel | ([If<Cached, "cached", CacheType>] extends ["raw" | "cached"] ? GuildTextBasedChannel : TextBasedChannel)' is not assignable to type 'VoiceChannel'.
- Type 'NewsChannel' is not assignable to type 'VoiceChannel'.
- Type 'CacheTypeReducer<If<Cached, "cached", CacheType>, GuildTextBasedChannel, GuildTextBasedChannel, GuildTextBasedChannel, TextBasedChannel>' is not assignable to type 'VoiceChannel'.
- Type 'GuildTextBasedChannel | ([If<Cached, "cached", CacheType>] extends ["raw"] ? GuildTextBasedChannel : [...] extends [...] ? GuildTextBasedChannel : TextBasedChannel)' is not assignable to type 'VoiceChannel'.
- Type 'NewsChannel' is not assignable to type 'VoiceChannel'.
- 1518 InteractionCollectorOptions<MappedInteractionTypes<Cached>[T]>,
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- node_modules/discord.js/typings/index.d.ts:1593: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 : [...] 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 | VoiceChannel' is not assignable to type 'GuildTextBasedChannel'.
- Type '[If<Cached, "cached", CacheType>] extends ["raw" | "cached"] ? GuildTextBasedChannel : TextBasedChannel' is not assignable to type 'VoiceChannel'.
- Type 'DMChannel | PartialDMChannel | NewsChannel | TextChannel | ThreadChannel | VoiceChannel' is not assignable to type 'VoiceChannel'.
- Type '[If<Cached, "cached", CacheType>] extends ["raw"] ? GuildTextBasedChannel : [If<Cached, "cached", CacheType>] extends [...] ? GuildTextBasedChannel : TextBasedChannel' is not assignable to type 'VoiceChannel'.
- Type 'GuildTextBasedChannel | ([If<Cached, "cached", CacheType>] extends ["raw" | "cached"] ? GuildTextBasedChannel : TextBasedChannel)' is not assignable to type 'VoiceChannel'.
- Type 'NewsChannel' is not assignable to type 'VoiceChannel'.
- Type 'CacheTypeReducer<If<Cached, "cached", CacheType>, GuildTextBasedChannel, GuildTextBasedChannel, GuildTextBasedChannel, TextBasedChannel>' is not assignable to type 'VoiceChannel'.
- Type 'GuildTextBasedChannel | ([If<Cached, "cached", CacheType>] extends ["raw"] ? GuildTextBasedChannel : [...] extends [...] ? GuildTextBasedChannel : TextBasedChannel)' is not assignable to type 'VoiceChannel'.
- Type 'NewsChannel' is not assignable to type 'VoiceChannel'.
- 1593 ): InteractionCollector<MappedInteractionTypes<Cached>[T]>;
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- node_modules/revolt-api/dist/index.d.ts:61:81 - error TS2536: Type '"path"' cannot be used to index type 'Routes'.
- 61 req<Method extends Methods, Routes extends PickRoutes<Method>, Path extends Routes['path'], Route extends Routes & {
- ~~~~~~~~~~~~~~
- node_modules/revolt-api/dist/index.d.ts:64:44 - error TS2536: Type '"params"' cannot be used to index type 'Route'.
- 64 }>(method: Method, path: Path, params: Route['params'], config?: AxiosRequestConfig): Promise<Route['response']>;
- ~~~~~~~~~~~~~~~
- node_modules/revolt-api/dist/index.d.ts:64:99 - error TS2536: Type '"response"' cannot be used to index type 'Route'.
- 64 }>(method: Method, path: Path, params: Route['params'], config?: AxiosRequestConfig): Promise<Route['response']>;
- ~~~~~~~~~~~~~~~~~
- node_modules/revolt-api/dist/index.d.ts:75:28 - error TS2536: Type '"params"' cannot be used to index type 'Route'.
- 75 }>(path: Path, params: Route['params'], config?: AxiosRequestConfig): Promise<Route['response']>;
- ~~~~~~~~~~~~~~~
- node_modules/revolt-api/dist/index.d.ts:75:83 - error TS2536: Type '"response"' cannot be used to index type 'Route'.
- 75 }>(path: Path, params: Route['params'], config?: AxiosRequestConfig): Promise<Route['response']>;
- ~~~~~~~~~~~~~~~~~
- node_modules/revolt-api/dist/index.d.ts:86:29 - error TS2536: Type '"response"' cannot be used to index type 'Route'.
- 86 }>(path: Path): Promise<Route['response']>;
- ~~~~~~~~~~~~~~~~~
- node_modules/revolt-api/dist/index.d.ts:97:28 - error TS2536: Type '"params"' cannot be used to index type 'Route'.
- 97 }>(path: Path, params: Route['params'], config?: AxiosRequestConfig): Promise<Route['response']>;
- ~~~~~~~~~~~~~~~
- node_modules/revolt-api/dist/index.d.ts:97:83 - error TS2536: Type '"response"' cannot be used to index type 'Route'.
- 97 }>(path: Path, params: Route['params'], config?: AxiosRequestConfig): Promise<Route['response']>;
- ~~~~~~~~~~~~~~~~~
- node_modules/revolt-api/dist/index.d.ts:108:29 - error TS2536: Type '"response"' cannot be used to index type 'Route'.
- 108 }>(path: Path): Promise<Route['response']>;
- ~~~~~~~~~~~~~~~~~
- node_modules/revolt-api/dist/index.d.ts:119:28 - error TS2536: Type '"params"' cannot be used to index type 'Route'.
- 119 }>(path: Path, params: Route['params'], config?: AxiosRequestConfig): Promise<Route['response']>;
- ~~~~~~~~~~~~~~~
- node_modules/revolt-api/dist/index.d.ts:119:83 - error TS2536: Type '"response"' cannot be used to index type 'Route'.
- 119 }>(path: Path, params: Route['params'], config?: AxiosRequestConfig): Promise<Route['response']>;
- ~~~~~~~~~~~~~~~~~
- node_modules/revolt-api/dist/index.d.ts:130:29 - error TS2536: Type '"response"' cannot be used to index type 'Route'.
- 130 }>(path: Path): Promise<Route['response']>;
- ~~~~~~~~~~~~~~~~~
- node_modules/revolt-api/dist/index.d.ts:141:58 - error TS2536: Type '"response"' cannot be used to index type 'Route'.
- 141 }>(path: Path, config?: AxiosRequestConfig): Promise<Route['response']>;
- ~~~~~~~~~~~~~~~~~
- node_modules/revolt-api/dist/index.d.ts:152:29 - error TS2536: Type '"response"' cannot be used to index type 'Route'.
- 152 }>(path: Path): Promise<Route['response']>;
- ~~~~~~~~~~~~~~~~~
- node_modules/revolt-api/dist/index.d.ts:163:28 - error TS2536: Type '"params"' cannot be used to index type 'Route'.
- 163 }>(path: Path, params: Route['params'], config?: AxiosRequestConfig): Promise<Route['response']>;
- ~~~~~~~~~~~~~~~
- node_modules/revolt-api/dist/index.d.ts:163:83 - error TS2536: Type '"response"' cannot be used to index type 'Route'.
- 163 }>(path: Path, params: Route['params'], config?: AxiosRequestConfig): Promise<Route['response']>;
- ~~~~~~~~~~~~~~~~~
- node_modules/revolt-api/dist/index.d.ts:174:29 - error TS2536: Type '"response"' cannot be used to index type 'Route'.
- 174 }>(path: Path): Promise<Route['response']>;
- ~~~~~~~~~~~~~~~~~
- node_modules/revolt.js/dist/Client.d.ts:82:15 - error TS2304: Cannot find name 'Session'.
- 82 session?: Session | string;
- ~~~~~~~
- node_modules/revolt.js/dist/Client.d.ts:140:33 - error TS2304: Cannot find name 'Session'.
- 140 useExistingSession(session: Session): Promise<((username: string, loginAfterSuccess?: boolean | undefined) => Promise<void>) | undefined>;
- ~~~~~~~
- node_modules/revolt.js/dist/websocket/notifications.d.ts:16:5 - error TS2304: Cannot find name 'Session'.
- 16 } & Session) | {
- ~~~~~~~
- Found 24 errors in 4 files.
- Errors Files
- 4 node_modules/discord.js/typings/index.d.ts:1503
- 17 node_modules/revolt-api/dist/index.d.ts:61
- 2 node_modules/revolt.js/dist/Client.d.ts:82
- 1 node_modules/revolt.js/dist/websocket/notifications.d.ts:16
- root@vps:/revcord# rm revcord.sqlite
- root@vps:/revcord# npm install && npm run build
- up to date, audited 182 packages in 689ms
- 8 packages are looking for funding
- run `npm fund` for details
- 2 vulnerabilities (1 moderate, 1 high)
- To address all issues, run:
- npm audit fix
- Run `npm audit` for details.
- > revcord@1.1.1 build
- > tsc
- node_modules/discord.js/typings/index.d.ts:1503: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 : [...] 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 | VoiceChannel' is not assignable to type 'GuildTextBasedChannel'.
- Type 'DMChannel' is not assignable to type 'GuildTextBasedChannel'.
- Type 'DMChannel' is missing the following properties from type 'ThreadChannel': archived, archivedAt, archiveTimestamp, _createdTimestamp, and 35 more.
- Type '[If<Cached, "cached", CacheType>] extends ["raw" | "cached"] ? GuildTextBasedChannel : TextBasedChannel' is not assignable to type 'VoiceChannel'.
- Type 'DMChannel | PartialDMChannel | NewsChannel | TextChannel | ThreadChannel | VoiceChannel' is not assignable to type 'VoiceChannel'.
- Type 'DMChannel' is missing the following properties from type 'VoiceChannel': videoQualityMode, editable, speakable, rateLimitPerUser, and 40 more.
- Type '[If<Cached, "cached", CacheType>] extends ["raw"] ? GuildTextBasedChannel : [If<Cached, "cached", CacheType>] extends [...] ? GuildTextBasedChannel : TextBasedChannel' is not assignable to type 'VoiceChannel'.
- Type 'GuildTextBasedChannel | ([If<Cached, "cached", CacheType>] extends ["raw" | "cached"] ? GuildTextBasedChannel : TextBasedChannel)' is not assignable to type 'VoiceChannel'.
- Type 'NewsChannel' is not assignable to type 'VoiceChannel'.
- Type 'CacheTypeReducer<If<Cached, "cached", CacheType>, GuildTextBasedChannel, GuildTextBasedChannel, GuildTextBasedChannel, TextBasedChannel>' is not assignable to type 'VoiceChannel'.
- Type 'GuildTextBasedChannel | ([If<Cached, "cached", CacheType>] extends ["raw"] ? GuildTextBasedChannel : [...] extends [...] ? GuildTextBasedChannel : TextBasedChannel)' is not assignable to type 'VoiceChannel'.
- Type 'NewsChannel' is missing the following properties from type 'VoiceChannel': videoQualityMode, editable, speakable, setBitrate, and 8 more.
- 1503 } & MessageComponentCollectorOptions<MappedInteractionTypes<Cached>[T]>;
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- node_modules/discord.js/typings/index.d.ts:1511: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 : [...] 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 | VoiceChannel' is not assignable to type 'GuildTextBasedChannel'.
- Type '[If<Cached, "cached", CacheType>] extends ["raw" | "cached"] ? GuildTextBasedChannel : TextBasedChannel' is not assignable to type 'VoiceChannel'.
- Type 'DMChannel | PartialDMChannel | NewsChannel | TextChannel | ThreadChannel | VoiceChannel' is not assignable to type 'VoiceChannel'.
- Type '[If<Cached, "cached", CacheType>] extends ["raw"] ? GuildTextBasedChannel : [If<Cached, "cached", CacheType>] extends [...] ? GuildTextBasedChannel : TextBasedChannel' is not assignable to type 'VoiceChannel'.
- Type 'GuildTextBasedChannel | ([If<Cached, "cached", CacheType>] extends ["raw" | "cached"] ? GuildTextBasedChannel : TextBasedChannel)' is not assignable to type 'VoiceChannel'.
- Type 'NewsChannel' is not assignable to type 'VoiceChannel'.
- Type 'CacheTypeReducer<If<Cached, "cached", CacheType>, GuildTextBasedChannel, GuildTextBasedChannel, GuildTextBasedChannel, TextBasedChannel>' is not assignable to type 'VoiceChannel'.
- Type 'GuildTextBasedChannel | ([If<Cached, "cached", CacheType>] extends ["raw"] ? GuildTextBasedChannel : [...] extends [...] ? GuildTextBasedChannel : TextBasedChannel)' is not assignable to type 'VoiceChannel'.
- Type 'NewsChannel' is not assignable to type 'VoiceChannel'.
- 1511 } & MessageChannelComponentCollectorOptions<MappedInteractionTypes<Cached>[T]>;
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- node_modules/discord.js/typings/index.d.ts:1518: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 : [...] 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 | VoiceChannel' is not assignable to type 'GuildTextBasedChannel'.
- Type '[If<Cached, "cached", CacheType>] extends ["raw" | "cached"] ? GuildTextBasedChannel : TextBasedChannel' is not assignable to type 'VoiceChannel'.
- Type 'DMChannel | PartialDMChannel | NewsChannel | TextChannel | ThreadChannel | VoiceChannel' is not assignable to type 'VoiceChannel'.
- Type '[If<Cached, "cached", CacheType>] extends ["raw"] ? GuildTextBasedChannel : [If<Cached, "cached", CacheType>] extends [...] ? GuildTextBasedChannel : TextBasedChannel' is not assignable to type 'VoiceChannel'.
- Type 'GuildTextBasedChannel | ([If<Cached, "cached", CacheType>] extends ["raw" | "cached"] ? GuildTextBasedChannel : TextBasedChannel)' is not assignable to type 'VoiceChannel'.
- Type 'NewsChannel' is not assignable to type 'VoiceChannel'.
- Type 'CacheTypeReducer<If<Cached, "cached", CacheType>, GuildTextBasedChannel, GuildTextBasedChannel, GuildTextBasedChannel, TextBasedChannel>' is not assignable to type 'VoiceChannel'.
- Type 'GuildTextBasedChannel | ([If<Cached, "cached", CacheType>] extends ["raw"] ? GuildTextBasedChannel : [...] extends [...] ? GuildTextBasedChannel : TextBasedChannel)' is not assignable to type 'VoiceChannel'.
- Type 'NewsChannel' is not assignable to type 'VoiceChannel'.
- 1518 InteractionCollectorOptions<MappedInteractionTypes<Cached>[T]>,
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- node_modules/discord.js/typings/index.d.ts:1593: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 : [...] 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 | VoiceChannel' is not assignable to type 'GuildTextBasedChannel'.
- Type '[If<Cached, "cached", CacheType>] extends ["raw" | "cached"] ? GuildTextBasedChannel : TextBasedChannel' is not assignable to type 'VoiceChannel'.
- Type 'DMChannel | PartialDMChannel | NewsChannel | TextChannel | ThreadChannel | VoiceChannel' is not assignable to type 'VoiceChannel'.
- Type '[If<Cached, "cached", CacheType>] extends ["raw"] ? GuildTextBasedChannel : [If<Cached, "cached", CacheType>] extends [...] ? GuildTextBasedChannel : TextBasedChannel' is not assignable to type 'VoiceChannel'.
- Type 'GuildTextBasedChannel | ([If<Cached, "cached", CacheType>] extends ["raw" | "cached"] ? GuildTextBasedChannel : TextBasedChannel)' is not assignable to type 'VoiceChannel'.
- Type 'NewsChannel' is not assignable to type 'VoiceChannel'.
- Type 'CacheTypeReducer<If<Cached, "cached", CacheType>, GuildTextBasedChannel, GuildTextBasedChannel, GuildTextBasedChannel, TextBasedChannel>' is not assignable to type 'VoiceChannel'.
- Type 'GuildTextBasedChannel | ([If<Cached, "cached", CacheType>] extends ["raw"] ? GuildTextBasedChannel : [...] extends [...] ? GuildTextBasedChannel : TextBasedChannel)' is not assignable to type 'VoiceChannel'.
- Type 'NewsChannel' is not assignable to type 'VoiceChannel'.
- 1593 ): InteractionCollector<MappedInteractionTypes<Cached>[T]>;
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- node_modules/revolt-api/dist/index.d.ts:61:81 - error TS2536: Type '"path"' cannot be used to index type 'Routes'.
- 61 req<Method extends Methods, Routes extends PickRoutes<Method>, Path extends Routes['path'], Route extends Routes & {
- ~~~~~~~~~~~~~~
- node_modules/revolt-api/dist/index.d.ts:64:44 - error TS2536: Type '"params"' cannot be used to index type 'Route'.
- 64 }>(method: Method, path: Path, params: Route['params'], config?: AxiosRequestConfig): Promise<Route['response']>;
- ~~~~~~~~~~~~~~~
- node_modules/revolt-api/dist/index.d.ts:64:99 - error TS2536: Type '"response"' cannot be used to index type 'Route'.
- 64 }>(method: Method, path: Path, params: Route['params'], config?: AxiosRequestConfig): Promise<Route['response']>;
- ~~~~~~~~~~~~~~~~~
- node_modules/revolt-api/dist/index.d.ts:75:28 - error TS2536: Type '"params"' cannot be used to index type 'Route'.
- 75 }>(path: Path, params: Route['params'], config?: AxiosRequestConfig): Promise<Route['response']>;
- ~~~~~~~~~~~~~~~
- node_modules/revolt-api/dist/index.d.ts:75:83 - error TS2536: Type '"response"' cannot be used to index type 'Route'.
- 75 }>(path: Path, params: Route['params'], config?: AxiosRequestConfig): Promise<Route['response']>;
- ~~~~~~~~~~~~~~~~~
- node_modules/revolt-api/dist/index.d.ts:86:29 - error TS2536: Type '"response"' cannot be used to index type 'Route'.
- 86 }>(path: Path): Promise<Route['response']>;
- ~~~~~~~~~~~~~~~~~
- node_modules/revolt-api/dist/index.d.ts:97:28 - error TS2536: Type '"params"' cannot be used to index type 'Route'.
- 97 }>(path: Path, params: Route['params'], config?: AxiosRequestConfig): Promise<Route['response']>;
- ~~~~~~~~~~~~~~~
- node_modules/revolt-api/dist/index.d.ts:97:83 - error TS2536: Type '"response"' cannot be used to index type 'Route'.
- 97 }>(path: Path, params: Route['params'], config?: AxiosRequestConfig): Promise<Route['response']>;
- ~~~~~~~~~~~~~~~~~
- node_modules/revolt-api/dist/index.d.ts:108:29 - error TS2536: Type '"response"' cannot be used to index type 'Route'.
- 108 }>(path: Path): Promise<Route['response']>;
- ~~~~~~~~~~~~~~~~~
- node_modules/revolt-api/dist/index.d.ts:119:28 - error TS2536: Type '"params"' cannot be used to index type 'Route'.
- 119 }>(path: Path, params: Route['params'], config?: AxiosRequestConfig): Promise<Route['response']>;
- ~~~~~~~~~~~~~~~
- node_modules/revolt-api/dist/index.d.ts:119:83 - error TS2536: Type '"response"' cannot be used to index type 'Route'.
- 119 }>(path: Path, params: Route['params'], config?: AxiosRequestConfig): Promise<Route['response']>;
- ~~~~~~~~~~~~~~~~~
- node_modules/revolt-api/dist/index.d.ts:130:29 - error TS2536: Type '"response"' cannot be used to index type 'Route'.
- 130 }>(path: Path): Promise<Route['response']>;
- ~~~~~~~~~~~~~~~~~
- node_modules/revolt-api/dist/index.d.ts:141:58 - error TS2536: Type '"response"' cannot be used to index type 'Route'.
- 141 }>(path: Path, config?: AxiosRequestConfig): Promise<Route['response']>;
- ~~~~~~~~~~~~~~~~~
- node_modules/revolt-api/dist/index.d.ts:152:29 - error TS2536: Type '"response"' cannot be used to index type 'Route'.
- 152 }>(path: Path): Promise<Route['response']>;
- ~~~~~~~~~~~~~~~~~
- node_modules/revolt-api/dist/index.d.ts:163:28 - error TS2536: Type '"params"' cannot be used to index type 'Route'.
- 163 }>(path: Path, params: Route['params'], config?: AxiosRequestConfig): Promise<Route['response']>;
- ~~~~~~~~~~~~~~~
- node_modules/revolt-api/dist/index.d.ts:163:83 - error TS2536: Type '"response"' cannot be used to index type 'Route'.
- 163 }>(path: Path, params: Route['params'], config?: AxiosRequestConfig): Promise<Route['response']>;
- ~~~~~~~~~~~~~~~~~
- node_modules/revolt-api/dist/index.d.ts:174:29 - error TS2536: Type '"response"' cannot be used to index type 'Route'.
- 174 }>(path: Path): Promise<Route['response']>;
- ~~~~~~~~~~~~~~~~~
- node_modules/revolt.js/dist/Client.d.ts:82:15 - error TS2304: Cannot find name 'Session'.
- 82 session?: Session | string;
- ~~~~~~~
- node_modules/revolt.js/dist/Client.d.ts:140:33 - error TS2304: Cannot find name 'Session'.
- 140 useExistingSession(session: Session): Promise<((username: string, loginAfterSuccess?: boolean | undefined) => Promise<void>) | undefined>;
- ~~~~~~~
- node_modules/revolt.js/dist/websocket/notifications.d.ts:16:5 - error TS2304: Cannot find name 'Session'.
- 16 } & Session) | {
- ~~~~~~~
- Found 24 errors in 4 files.
- Errors Files
- 4 node_modules/discord.js/typings/index.d.ts:1503
- 17 node_modules/revolt-api/dist/index.d.ts:61
- 2 node_modules/revolt.js/dist/Client.d.ts:82
- 1 node_modules/revolt.js/dist/websocket/notifications.d.ts:16
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement