File tree Expand file tree Collapse file tree 4 files changed +52
-4
lines changed
v10/_interactions/_applicationCommands/_chatInput
v9/_interactions/_applicationCommands/_chatInput
v10/_interactions/_applicationCommands/_chatInput
v9/_interactions/_applicationCommands/_chatInput Expand file tree Collapse file tree 4 files changed +52
-4
lines changed Original file line number Diff line number Diff line change @@ -5,8 +5,20 @@ import type {
55} from './base.ts' ;
66import type { APIApplicationCommandOptionChoice , ApplicationCommandOptionType } from './shared.ts' ;
77
8+ interface APIApplicationCommandStringOptionBase
9+ extends APIApplicationCommandOptionBase < ApplicationCommandOptionType . String > {
10+ /**
11+ * For option type `STRING`, the minimum allowed length (minimum of 0).
12+ */
13+ min_length ?: number ;
14+ /**
15+ * For option type `STRING`, the maximum allowed length (minimum of 1).
16+ */
17+ max_length ?: number ;
18+ }
19+
820export type APIApplicationCommandStringOption = APIApplicationCommandOptionWithAutocompleteOrChoicesWrapper <
9- APIApplicationCommandOptionBase < ApplicationCommandOptionType . String > ,
21+ APIApplicationCommandStringOptionBase ,
1022 APIApplicationCommandOptionChoice < string >
1123> ;
1224
Original file line number Diff line number Diff line change @@ -5,8 +5,20 @@ import type {
55} from './base.ts' ;
66import type { APIApplicationCommandOptionChoice , ApplicationCommandOptionType } from './shared.ts' ;
77
8+ interface APIApplicationCommandStringOptionBase
9+ extends APIApplicationCommandOptionBase < ApplicationCommandOptionType . String > {
10+ /**
11+ * For option type `STRING`, the minimum allowed length (minimum of 0).
12+ */
13+ min_length ?: number ;
14+ /**
15+ * For option type `STRING`, the maximum allowed length (minimum of 1).
16+ */
17+ max_length ?: number ;
18+ }
19+
820export type APIApplicationCommandStringOption = APIApplicationCommandOptionWithAutocompleteOrChoicesWrapper <
9- APIApplicationCommandOptionBase < ApplicationCommandOptionType . String > ,
21+ APIApplicationCommandStringOptionBase ,
1022 APIApplicationCommandOptionChoice < string >
1123> ;
1224
Original file line number Diff line number Diff line change @@ -5,8 +5,20 @@ import type {
55} from './base' ;
66import type { APIApplicationCommandOptionChoice , ApplicationCommandOptionType } from './shared' ;
77
8+ interface APIApplicationCommandStringOptionBase
9+ extends APIApplicationCommandOptionBase < ApplicationCommandOptionType . String > {
10+ /**
11+ * For option type `STRING`, the minimum allowed length (minimum of 0).
12+ */
13+ min_length ?: number ;
14+ /**
15+ * For option type `STRING`, the maximum allowed length (minimum of 1).
16+ */
17+ max_length ?: number ;
18+ }
19+
820export type APIApplicationCommandStringOption = APIApplicationCommandOptionWithAutocompleteOrChoicesWrapper <
9- APIApplicationCommandOptionBase < ApplicationCommandOptionType . String > ,
21+ APIApplicationCommandStringOptionBase ,
1022 APIApplicationCommandOptionChoice < string >
1123> ;
1224
Original file line number Diff line number Diff line change @@ -5,8 +5,20 @@ import type {
55} from './base' ;
66import type { APIApplicationCommandOptionChoice , ApplicationCommandOptionType } from './shared' ;
77
8+ interface APIApplicationCommandStringOptionBase
9+ extends APIApplicationCommandOptionBase < ApplicationCommandOptionType . String > {
10+ /**
11+ * For option type `STRING`, the minimum allowed length (minimum of 0).
12+ */
13+ min_length ?: number ;
14+ /**
15+ * For option type `STRING`, the maximum allowed length (minimum of 1).
16+ */
17+ max_length ?: number ;
18+ }
19+
820export type APIApplicationCommandStringOption = APIApplicationCommandOptionWithAutocompleteOrChoicesWrapper <
9- APIApplicationCommandOptionBase < ApplicationCommandOptionType . String > ,
21+ APIApplicationCommandStringOptionBase ,
1022 APIApplicationCommandOptionChoice < string >
1123> ;
1224
You can’t perform that action at this time.
0 commit comments