mirror of
https://github.com/sern-handler/website
synced 2026-06-28 02:32:23 +00:00
feat: add tabs for v3/v4
This commit is contained in:
104
src/content/docs/v3/api/interfaces/SernSubCommandData.md
Normal file
104
src/content/docs/v3/api/interfaces/SernSubCommandData.md
Normal file
@@ -0,0 +1,104 @@
|
||||
---
|
||||
editUrl: false
|
||||
next: false
|
||||
prev: false
|
||||
title: "SernSubCommandData"
|
||||
---
|
||||
|
||||
## Extends
|
||||
|
||||
- `APIApplicationCommandOptionBase`\<`ApplicationCommandOptionType.Subcommand`\>
|
||||
|
||||
## Properties
|
||||
|
||||
### description
|
||||
|
||||
> **description**: `string`
|
||||
|
||||
#### Inherited from
|
||||
|
||||
`APIApplicationCommandOptionBase.description`
|
||||
|
||||
#### Source
|
||||
|
||||
node\_modules/discord-api-types/payloads/v10/\_interactions/\_applicationCommands/\_chatInput/base.d.ts:7
|
||||
|
||||
***
|
||||
|
||||
### description\_localizations?
|
||||
|
||||
> `optional` **description\_localizations**: `null` \| `Partial`\<`Record`\<`"id"` \| `"en-US"` \| `"en-GB"` \| `"bg"` \| `"zh-CN"` \| `"zh-TW"` \| `"hr"` \| `"cs"` \| `"da"` \| `"nl"` \| `"fi"` \| `"fr"` \| `"de"` \| `"el"` \| `"hi"` \| `"hu"` \| `"it"` \| `"ja"` \| `"ko"` \| `"lt"` \| `"no"` \| `"pl"` \| `"pt-BR"` \| `"ro"` \| `"ru"` \| `"es-ES"` \| `"es-419"` \| `"sv-SE"` \| `"th"` \| `"tr"` \| `"uk"` \| `"vi"`, `null` \| `string`\>\>
|
||||
|
||||
#### Inherited from
|
||||
|
||||
`APIApplicationCommandOptionBase.description_localizations`
|
||||
|
||||
#### Source
|
||||
|
||||
node\_modules/discord-api-types/payloads/v10/\_interactions/\_applicationCommands/\_chatInput/base.d.ts:8
|
||||
|
||||
***
|
||||
|
||||
### name
|
||||
|
||||
> **name**: `string`
|
||||
|
||||
#### Inherited from
|
||||
|
||||
`APIApplicationCommandOptionBase.name`
|
||||
|
||||
#### Source
|
||||
|
||||
node\_modules/discord-api-types/payloads/v10/\_interactions/\_applicationCommands/\_chatInput/base.d.ts:5
|
||||
|
||||
***
|
||||
|
||||
### name\_localizations?
|
||||
|
||||
> `optional` **name\_localizations**: `null` \| `Partial`\<`Record`\<`"id"` \| `"en-US"` \| `"en-GB"` \| `"bg"` \| `"zh-CN"` \| `"zh-TW"` \| `"hr"` \| `"cs"` \| `"da"` \| `"nl"` \| `"fi"` \| `"fr"` \| `"de"` \| `"el"` \| `"hi"` \| `"hu"` \| `"it"` \| `"ja"` \| `"ko"` \| `"lt"` \| `"no"` \| `"pl"` \| `"pt-BR"` \| `"ro"` \| `"ru"` \| `"es-ES"` \| `"es-419"` \| `"sv-SE"` \| `"th"` \| `"tr"` \| `"uk"` \| `"vi"`, `null` \| `string`\>\>
|
||||
|
||||
#### Inherited from
|
||||
|
||||
`APIApplicationCommandOptionBase.name_localizations`
|
||||
|
||||
#### Source
|
||||
|
||||
node\_modules/discord-api-types/payloads/v10/\_interactions/\_applicationCommands/\_chatInput/base.d.ts:6
|
||||
|
||||
***
|
||||
|
||||
### options?
|
||||
|
||||
> `optional` **options**: [`SernOptionsData`](/api/type-aliases/sernoptionsdata/)[]
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:209](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L209)
|
||||
|
||||
***
|
||||
|
||||
### required?
|
||||
|
||||
> `optional` **required**: `boolean`
|
||||
|
||||
#### Inherited from
|
||||
|
||||
`APIApplicationCommandOptionBase.required`
|
||||
|
||||
#### Source
|
||||
|
||||
node\_modules/discord-api-types/payloads/v10/\_interactions/\_applicationCommands/\_chatInput/base.d.ts:9
|
||||
|
||||
***
|
||||
|
||||
### type
|
||||
|
||||
> **type**: `Subcommand`
|
||||
|
||||
#### Overrides
|
||||
|
||||
`APIApplicationCommandOptionBase.type`
|
||||
|
||||
#### Source
|
||||
|
||||
[src/types/core-modules.ts:208](https://github.com/sern-handler/handler/blob/91b3768e376cfe22ec37d8ab44f4e4a4dfe8a1e8/src/types/core-modules.ts#L208)
|
||||
Reference in New Issue
Block a user