11import {
22 type AutocompleteInteraction ,
33 type ChatInputCommandInteraction ,
4- SlashCommandBuilder ,
5- type SlashCommandStringOption ,
6- type SlashCommandIntegerOption ,
4+ type SlashCommandAttachmentOption ,
75 type SlashCommandBooleanOption ,
8- type SlashCommandUserOption ,
6+ SlashCommandBuilder ,
97 type SlashCommandChannelOption ,
10- type SlashCommandRoleOption ,
8+ type SlashCommandIntegerOption ,
119 type SlashCommandMentionableOption ,
1210 type SlashCommandNumberOption ,
13- type SlashCommandAttachmentOption ,
11+ type SlashCommandRoleOption ,
12+ type SlashCommandStringOption ,
13+ type SlashCommandUserOption ,
1414} from "discord.js" ;
1515
1616export type CommandRunFn = (
@@ -95,7 +95,9 @@ export default class Command extends SlashCommandBuilder {
9595 override addMentionableOption (
9696 input :
9797 | SlashCommandMentionableOption
98- | ( ( option : SlashCommandMentionableOption ) => SlashCommandMentionableOption ) ,
98+ | ( (
99+ option : SlashCommandMentionableOption ,
100+ ) => SlashCommandMentionableOption ) ,
99101 ) : this {
100102 super . addMentionableOption ( input ) ;
101103 return this ;
@@ -113,7 +115,9 @@ export default class Command extends SlashCommandBuilder {
113115 override addAttachmentOption (
114116 input :
115117 | SlashCommandAttachmentOption
116- | ( ( option : SlashCommandAttachmentOption ) => SlashCommandAttachmentOption ) ,
118+ | ( (
119+ option : SlashCommandAttachmentOption ,
120+ ) => SlashCommandAttachmentOption ) ,
117121 ) : this {
118122 super . addAttachmentOption ( input ) ;
119123 return this ;
@@ -138,7 +142,9 @@ export default class Command extends SlashCommandBuilder {
138142 await this . _run ( interaction ) ;
139143 }
140144
141- async executeAutocomplete ( interaction : AutocompleteInteraction ) : Promise < void > {
145+ async executeAutocomplete (
146+ interaction : AutocompleteInteraction ,
147+ ) : Promise < void > {
142148 if ( ! this . _runAutocomplete ) {
143149 return ;
144150 }
0 commit comments