Skip to content
This repository was archived by the owner on Sep 10, 2025. It is now read-only.

Port to discord.js v14#834

Merged
PythonCoderAS merged 40 commits into
masterfrom
v14
Jul 20, 2022
Merged

Port to discord.js v14#834
PythonCoderAS merged 40 commits into
masterfrom
v14

Conversation

@PythonCoderAS
Copy link
Copy Markdown
Member

WIP.

Errors to fix:

Error: src/buttons/goToDM.ts(1,10): error TS2724: '"discord.js"' has no exported member named 'MessageActionRow'. Did you mean 'MessageReaction'?
Error: src/buttons/goToDM.ts(1,28): error TS2305: Module '"discord.js"' has no exported member 'MessageButton'.
Error: src/client.ts(1,10): error TS2305: Module '"discord.js"' has no exported member 'Intents'.
Error: src/client.ts(23,14): error TS2322: Type 'string' is not assignable to type 'Partials'.
Error: src/client/extraClient.ts(8,3): error TS2305: Module '"discord.js"' has no exported member 'MessageEmbed'.
Error: src/client/extraClient.ts(167,14): error TS2678: Type '"APPLICATION_COMMAND"' is not comparable to type 'InteractionType.ApplicationCommand | InteractionType.MessageComponent | InteractionType.ApplicationCommandAutocomplete | InteractionType.ModalSubmit'.
Error: src/client/extraClient.ts(170,14): error TS2678: Type '"APPLICATION_COMMAND_AUTOCOMPLETE"' is not comparable to type 'InteractionType.ApplicationCommand | InteractionType.MessageComponent | InteractionType.ApplicationCommandAutocomplete | InteractionType.ModalSubmit'.
Error: src/client/extraClient.ts(175,14): error TS2678: Type '"MESSAGE_COMPONENT"' is not comparable to type 'InteractionType.ApplicationCommand | InteractionType.MessageComponent | InteractionType.ApplicationCommandAutocomplete | InteractionType.ModalSubmit'.
Error: src/client/interactions/commandInteraction.ts(18,2[9](https://github.com/HealthScreening/HealthScreeningBot/runs/7391495207?check_suite_focus=true#step:6:10)): error TS2339: Property 'getSubcommandGroup' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/client/interactions/commandInteraction.ts(19,29): error TS2339: Property 'getSubcommand' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/client/resolve.ts(46,47): error TS2339: Property 'getSubcommandGroup' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand"> | Omit<...>'.
  Property 'getSubcommandGroup' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/client/resolve.ts(47,42): error TS2339: Property 'getSubcommand' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand"> | Omit<...>'.
  Property 'getSubcommand' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/command/delete.ts(30,44): error TS2339: Property 'getInteger' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/command/delete.ts(32,27): error TS2339: Property 'getBoolean' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/command/log/prune/index.ts(6,3): error TS2305: Module '"discord.js"' has no exported member 'MessageEmbed'.
Error: src/commands/command/log/prune/index.ts([10](https://github.com/HealthScreening/HealthScreeningBot/runs/7391495207?check_suite_focus=true#step:6:11)7,55): error TS2339: Property 'getInteger' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/command/log/prune/index.ts(108,54): error TS2339: Property 'getInteger' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/command/log/prune/index.ts([11](https://github.com/HealthScreening/HealthScreeningBot/runs/7391495207?check_suite_focus=true#step:6:12)0,27): error TS2339: Property 'getInteger' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/command/log/prune/index.ts(1[12](https://github.com/HealthScreening/HealthScreeningBot/runs/7391495207?check_suite_focus=true#step:6:13),27): error TS2339: Property 'getInteger' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/command/log/prune/index.ts(1[13](https://github.com/HealthScreening/HealthScreeningBot/runs/7391495207?check_suite_focus=true#step:6:14),70): error TS2339: Property 'getString' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/command/log/prune/index.ts(116,54): error TS2339: Property 'getInteger' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/command/log/prune/index.ts(221,27): error TS2339: Property 'getBoolean' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/command/log/view/autocomplete/after.ts(18,51): error TS2339: Property 'getUser' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getMentionable" | "getRole" | "getAttachment" | "getChannel" | "getUser" | "getMember">'.
Error: src/commands/command/log/view/autocomplete/afterTime.ts(19,51): error TS2339: Property 'getUser' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getMentionable" | "getRole" | "getAttachment" | "getChannel" | "getUser" | "getMember">'.
Error: src/commands/command/log/view/autocomplete/before.ts(18,51): error TS2339: Property 'getUser' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getMentionable" | "getRole" | "getAttachment" | "getChannel" | "getUser" | "getMember">'.
Error: src/commands/command/log/view/autocomplete/beforeTime.ts(19,51): error TS2339: Property 'getUser' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getMentionable" | "getRole" | "getAttachment" | "getChannel" | "getUser" | "getMember">'.
Error: src/commands/command/log/view/autocomplete/commandNameStartsWith.ts(16,51): error TS2339: Property 'getUser' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getMentionable" | "getRole" | "getAttachment" | "getChannel" | "getUser" | "getMember">'.
Error: src/commands/command/log/view/index.ts(6,3): error TS2305: Module '"discord.js"' has no exported member 'MessageEmbed'.
Error: src/commands/command/log/view/index.ts(112,40): error TS2339: Property 'getBoolean' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/command/log/view/index.ts(1[14](https://github.com/HealthScreening/HealthScreeningBot/runs/7391495207?check_suite_focus=true#step:6:15),55): error TS2339: Property 'getInteger' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/command/log/view/index.ts(1[15](https://github.com/HealthScreening/HealthScreeningBot/runs/7391495207?check_suite_focus=true#step:6:16),54): error TS2339: Property 'getInteger' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/command/log/view/index.ts(117,27): error TS2339: Property 'getInteger' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/command/log/view/index.ts(119,27): error TS2339: Property 'getInteger' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/command/log/view/index.ts(120,70): error TS2339: Property 'getString' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/command/log/view/index.ts(123,54): error TS2339: Property 'getInteger' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/command/log/view/index.ts(126,27): error TS2339: Property 'getBoolean' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/command/log/view/index.ts(279,27): error TS2339: Property 'getBoolean' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/command/view.ts(2,30): error TS2305: Module '"discord.js"' has no exported member 'MessageEmbed'.
Error: src/commands/command/view.ts(31,44): error TS2339: Property 'getInteger' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/command/view.ts(33,27): error TS2339: Property 'getBoolean' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/error/delete.ts(30,44): error TS2339: Property 'getInteger' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/error/delete.ts(32,27): error TS2339: Property 'getBoolean' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/error/log/prune/index.ts(6,3): error TS2305: Module '"discord.js"' has no exported member 'MessageEmbed'.
Error: src/commands/error/log/prune/index.ts(92,55): error TS2339: Property 'getInteger' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/error/log/prune/index.ts(93,54): error TS2339: Property 'getInteger' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/error/log/prune/index.ts(95,27): error TS2339: Property 'getInteger' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/error/log/prune/index.ts(97,27): error TS2339: Property 'getInteger' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/error/log/prune/index.ts(99,27): error TS2339: Property 'getString' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/error/log/prune/index.ts(100,54): error TS2339: Property 'getInteger' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/error/log/prune/index.ts(190,27): error TS2339: Property 'getBoolean' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/error/log/view/index.ts(6,3): error TS2305: Module '"discord.js"' has no exported member 'MessageEmbed'.
Error: src/commands/error/log/view/index.ts(105,40): error TS2339: Property 'getBoolean' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/error/log/view/index.ts(107,55): error TS2339: Property 'getInteger' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/error/log/view/index.ts(108,54): error TS2339: Property 'getInteger' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/error/log/view/index.ts(110,27): error TS2339: Property 'getInteger' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/error/log/view/index.ts(112,27): error TS2339: Property 'getInteger' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/error/log/view/index.ts(114,27): error TS2339: Property 'getString' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/error/log/view/index.ts(115,54): error TS2339: Property 'getInteger' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/error/log/view/index.ts(117,27): error TS2339: Property 'getBoolean' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/error/log/view/index.ts(256,27): error TS2339: Property 'getBoolean' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/error/post.ts(39,44): error TS2339: Property 'getInteger' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/error/post.ts(41,27): error TS2339: Property 'getBoolean' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/error/post.ts(55,27): error TS2339: Property 'getBoolean' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/error/view.ts(5,3): error TS2305: Module '"discord.js"' has no exported member 'HTTPAttachmentData'.
Error: src/commands/error/view.ts(6,3): error TS2305: Module '"discord.js"' has no exported member 'MessageEmbed'.
Error: src/commands/error/view.ts(46,44): error TS2339: Property 'getInteger' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/error/view.ts(47,40): error TS2339: Property 'getBoolean' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/error/view.ts(49,27): error TS2339: Property 'getBoolean' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/generateAuto.ts(22,27): error TS2339: Property 'getBoolean' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/generateOnce.ts(60,43): error TS2339: Property 'getString' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/generateOnce.ts(61,42): error TS2339: Property 'getString' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/generateOnce.ts(62,39): error TS2339: Property 'getString' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/generateOnce.ts(73,42): error TS2339: Property 'getBoolean' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/generateOnce.ts(74,39): error TS2339: Property 'getString' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/generateOnce.ts(78,27): error TS2339: Property 'getBoolean' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/guide/custom/sendQuickstart.ts(1,10): error TS2724: '"discord.js"' has no exported member named 'MessageActionRow'. Did you mean 'MessageReaction'?
Error: src/commands/guide/index.ts(52,38): error TS2339: Property 'getString' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/guide/index.ts(54,27): error TS2339: Property 'getBoolean' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/profile.ts(2,30): error TS2305: Module '"discord.js"' has no exported member 'MessageEmbed'.
Error: src/commands/profile.ts(29,40): error TS2345: Argument of type '{ format: string; }' is not assignable to parameter of type 'ImageURLOptions'.
  Object literal may only specify known properties, and 'format' does not exist in type 'ImageURLOptions'.
Error: src/commands/profile.ts(82,27): error TS2339: Property 'getBoolean' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/reportBug.ts(27,41): error TS2339: Property 'getString' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/reportBug.ts(29,27): error TS2339: Property 'getBoolean' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/reset.ts(63,27): error TS2339: Property 'getBoolean' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/sendToAll.ts(5,3): error TS2305: Module '"discord.js"' has no exported member 'MessageEmbed'.
Error: src/commands/sendToAll.ts(57,47): error TS2339: Property 'getInteger' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/sendToAll.ts(60,45): error TS2339: Property 'getString' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/sendToAll.ts(61,146): error TS2339: Property 'getString' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/setAuto.ts(54,43): error TS2339: Property 'getString' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/setAuto.ts(55,42): error TS2339: Property 'getString' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/setAuto.ts(56,39): error TS2339: Property 'getString' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/setAuto.ts(67,42): error TS2339: Property 'getBoolean' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/setAuto.ts(93,27): error TS2339: Property 'getBoolean' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/setCommand/index.ts(140,44): error TS2339: Property 'getString' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/setCommand/index.ts(141,38): error TS2339: Property 'getInteger' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/setCommand/index.ts(142,40): error TS2339: Property 'getInteger' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/setCommand/index.ts(143,38): error TS2339: Property 'getString' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/setCommand/index.ts(144,43): error TS2339: Property 'getBoolean' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/setCommand/index.ts(145,40): error TS2339: Property 'getBoolean' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/setCommand/index.ts(146,40): error TS2339: Property 'getBoolean' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/setCommand/index.ts(147,40): error TS2339: Property 'getBoolean' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/setCommand/index.ts(148,41): error TS2339: Property 'getBoolean' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/setCommand/index.ts(149,43): error TS2339: Property 'getBoolean' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/setCommand/index.ts(150,42): error TS2339: Property 'getBoolean' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/setCommand/index.ts(151,40): error TS2339: Property 'getBoolean' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/setCommand/index.ts(152,42): error TS2339: Property 'getBoolean' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/setCommand/index.ts(154,27): error TS2339: Property 'getBoolean' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/setCommand/setMenu.ts(3,3): error TS2724: '"discord.js"' has no exported member named 'MessageActionRow'. Did you mean 'MessageReaction'?
Error: src/commands/setCommand/setMenu.ts(5,3): error TS2305: Module '"discord.js"' has no exported member 'MessageButton'.
Error: src/commands/setCommand/setMenu.ts(7,3): error TS2305: Module '"discord.js"' has no exported member 'MessageSelectMenu'.
Error: src/commands/stats.ts(2,30): error TS2305: Module '"discord.js"' has no exported member 'MessageEmbed'.
Error: src/commands/suggest.ts(33,41): error TS2339: Property 'getString' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/suggest.ts(34,42): error TS2339: Property 'getBoolean' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/suggest.ts(36,27): error TS2339: Property 'getBoolean' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/testScreening.ts(2,30): error TS2305: Module '"discord.js"' has no exported member 'MessageEmbed'.
Error: src/commands/testScreening.ts(54,38): error TS2339: Property 'getInteger' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/testScreening.ts(55,39): error TS2339: Property 'getInteger' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/testScreening.ts(56,37): error TS2339: Property 'getInteger' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/testScreening.ts(58,27): error TS2339: Property 'getBoolean' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/testScreening.ts(63,54): error TS2345: Argument of type '{ format: string; }' is not assignable to parameter of type 'ImageURLOptions'.
  Object literal may only specify known properties, and 'format' does not exist in type 'ImageURLOptions'.
Error: src/commands/testScreening.ts(143,54): error TS2345: Argument of type '{ format: string; }' is not assignable to parameter of type 'ImageURLOptions'.
  Object literal may only specify known properties, and 'format' does not exist in type 'ImageURLOptions'.
Error: src/commands/triggerAutoNow.ts(46,27): error TS2339: Property 'getBoolean' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/triggerAutoNow.ts(47,41): error TS2339: Property 'getBoolean' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/commands/triggerAutoNow.ts(49,27): error TS2339: Property 'getBoolean' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/screeningClient/processScreening/generateAndSendScreenshot.ts(1,10): error TS2724: '"discord.js"' has no exported member named 'MessageActionRow'. Did you mean 'MessageReaction'?
Error: src/utils/buttonPresets.ts(2,10): error TS2305: Module '"discord.js"' has no exported member 'MessageButton'.
Error: src/utils/buttonPresets.ts(2,25): error TS2305: Module '"discord.js"' has no exported member 'MessageButtonStyleResolvable'.
Error: src/utils/customCollector.ts(5,3): error TS2724: '"discord.js"' has no exported member named 'MessageActionRow'. Did you mean 'MessageReaction'?
Error: src/utils/customCollector.ts(8,3): error TS2305: Module '"discord.js"' has no exported member 'MessageSelectMenu'.
Error: src/utils/customCollector.ts(62,17): error TS2339: Property 'setCustomId' does not exist on type 'MessageActionRowComponent'.
  Property 'setCustomId' does not exist on type 'ButtonComponent'.
Error: src/utils/customCollector.ts(65,15): error TS2339: Property 'setCustomId' does not exist on type 'MessageActionRowComponent'.
  Property 'setCustomId' does not exist on type 'ButtonComponent'.
Error: src/utils/customCollector.ts(122,45): error TS2344: Type 'MessageComponentInteraction<CacheType>' does not satisfy the constraint 'CollectedInteraction<CacheType>'.
  Type 'MessageComponentInteraction<CacheType>' is not assignable to type 'ButtonInteraction<CacheType>'.
    Types of property 'componentType' are incompatible.
      Type 'ComponentType.Button | ComponentType.SelectMenu' is not assignable to type 'ComponentType.Button'.
        Type 'ComponentType.SelectMenu' is not assignable to type 'ComponentType.Button'.
Error: src/utils/customCollector.ts(133,43): error TS2344: Type 'MessageComponentInteraction<CacheType>' does not satisfy the constraint 'CollectedInteraction<CacheType>'.
Error: src/utils/guides.ts(1,22): error TS2305: Module '"discord.js"' has no exported member 'MessageEmbed'.
Error: src/utils/logError/serializeInteraction.ts(13,44): error TS2339: Property 'getSubcommandGroup' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand"> | Omit<...>'.
  Property 'getSubcommandGroup' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/utils/logError/serializeInteraction.ts(14,39): error TS2339: Property 'getSubcommand' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand"> | Omit<...>'.
  Property 'getSubcommand' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
Error: src/utils/logError/serializeInteraction.ts(20,[16](https://github.com/HealthScreening/HealthScreeningBot/runs/7391495207?check_suite_focus=true#step:6:17)): error TS2678: Type '"USER"' is not comparable to type 'ApplicationCommandOptionType'.
Error: src/utils/logError/serializeInteraction.ts(23,16): error TS2678: Type '"CHANNEL"' is not comparable to type 'ApplicationCommandOptionType'.
Error: src/utils/logError/serializeInteraction.ts(26,16): error TS2678: Type '"ROLE"' is not comparable to type 'ApplicationCommandOptionType'.
Error: src/utils/logError/serializeInteraction.ts(29,16): error TS2678: Type '"MENTIONABLE"' is not comparable to type 'ApplicationCommandOptionType'.
Error: src/utils/logError/serializeMessageComponentInteraction.ts(2,3): error TS2305: Module '"discord.js"' has no exported member 'MessageButton'.
Error: src/utils/logError/serializeMessageComponentInteraction.ts(4,3): error TS[23](https://github.com/HealthScreening/HealthScreeningBot/runs/7391495207?check_suite_focus=true#step:6:24)05: Module '"discord.js"' has no exported member 'MessageSelectMenu'.
Error: src/utils/logError/serializeMessageComponentInteraction.ts(13,10): error TS2678: Type '"BUTTON"' is not comparable to type 'ComponentType.Button | ComponentType.SelectMenu'.
Error: src/utils/logError/serializeMessageComponentInteraction.ts([24](https://github.com/HealthScreening/HealthScreeningBot/runs/7391495207?check_suite_focus=true#step:6:25),10): error TS2678: Type '"SELECT_MENU"' is not comparable to type 'ComponentType.Button | ComponentType.SelectMenu'.
Error: src/utils/multiMessage.ts(4,3): error TS2305: Module '"discord.js"' has no exported member 'HTTPAttachmentData'.
Error: src/utils/multiMessage.ts(6,3): error TS2724: '"discord.js"' has no exported member named 'MessageActionRow'. Did you mean 'MessageReaction'?
Error: src/utils/multiMessage.ts(8,3): error TS2305: Module '"discord.js"' has no exported member 'MessageEmbed'.
Error: src/utils/paginator.ts(3,3): error TS[27](https://github.com/HealthScreening/HealthScreeningBot/runs/7391495207?check_suite_focus=true#step:6:28)24: '"discord.js"' has no exported member named 'MessageActionRow'. Did you mean 'MessageReaction'?
Error: src/utils/paginator.ts(5,3): error TS2305: Module '"discord.js"' has no exported member 'MessageButton'.
Error: src/utils/paginator.ts(7,3): error TS2305: Module '"discord.js"' has no exported member 'MessageEmbed'.
Error: Process completed with exit code 2.

dependabot Bot and others added 8 commits July 18, 2022 14:27
Bumps [discord.js](https://github.com/discordjs/discord.js) from 13.8.1 to 14.0.2.
- [Release notes](https://github.com/discordjs/discord.js/releases)
- [Commits](discordjs/discord.js@13.8.1...14.0.2)

---
updated-dependencies:
- dependency-name: discord.js
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [@sapphire/shapeshift](https://github.com/sapphiredev/shapeshift) from 3.4.0 to 3.5.1.
- [Release notes](https://github.com/sapphiredev/shapeshift/releases)
- [Changelog](https://github.com/sapphiredev/shapeshift/blob/main/CHANGELOG.md)
- [Commits](sapphiredev/shapeshift@v3.4.0...v3.5.1)

---
updated-dependencies:
- dependency-name: "@sapphire/shapeshift"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@PythonCoderAS PythonCoderAS added the enhancement New feature or request label Jul 18, 2022
@PythonCoderAS PythonCoderAS merged commit eae44d9 into master Jul 20, 2022
@PythonCoderAS PythonCoderAS deleted the v14 branch July 20, 2022 18:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant