Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ApplicationCommand): attachment application command option type (#…
…272)
- Loading branch information
1 parent
ee2b7cd
commit 71c4e6a
Showing
12 changed files
with
92 additions
and
12 deletions.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
deno/payloads/v8/_interactions/_applicationCommands/_chatInput/attachment.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import type { Snowflake } from '../../../../../globals.ts'; | ||
import type { APIApplicationCommandOptionBase, APIInteractionDataOptionBase } from './base.ts'; | ||
import type { ApplicationCommandOptionType } from './shared.ts'; | ||
|
||
export type APIApplicationCommandAttachmentOption = | ||
APIApplicationCommandOptionBase<ApplicationCommandOptionType.Attachment>; | ||
|
||
export type APIApplicationCommandInteractionDataAttachmentOption = APIInteractionDataOptionBase< | ||
ApplicationCommandOptionType.Attachment, | ||
Snowflake | ||
>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,7 @@ export enum ApplicationCommandOptionType { | |
Role, | ||
Mentionable, | ||
Number, | ||
Attachment, | ||
} | ||
|
||
/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
deno/payloads/v9/_interactions/_applicationCommands/_chatInput/attachment.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import type { Snowflake } from '../../../../../globals.ts'; | ||
import type { APIApplicationCommandOptionBase, APIInteractionDataOptionBase } from './base.ts'; | ||
import type { ApplicationCommandOptionType } from './shared.ts'; | ||
|
||
export type APIApplicationCommandAttachmentOption = | ||
APIApplicationCommandOptionBase<ApplicationCommandOptionType.Attachment>; | ||
|
||
export type APIApplicationCommandInteractionDataAttachmentOption = APIInteractionDataOptionBase< | ||
ApplicationCommandOptionType.Attachment, | ||
Snowflake | ||
>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,7 @@ export enum ApplicationCommandOptionType { | |
Role, | ||
Mentionable, | ||
Number, | ||
Attachment, | ||
} | ||
|
||
/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
payloads/v8/_interactions/_applicationCommands/_chatInput/attachment.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import type { Snowflake } from '../../../../../globals'; | ||
import type { APIApplicationCommandOptionBase, APIInteractionDataOptionBase } from './base'; | ||
import type { ApplicationCommandOptionType } from './shared'; | ||
|
||
export type APIApplicationCommandAttachmentOption = | ||
APIApplicationCommandOptionBase<ApplicationCommandOptionType.Attachment>; | ||
|
||
export type APIApplicationCommandInteractionDataAttachmentOption = APIInteractionDataOptionBase< | ||
ApplicationCommandOptionType.Attachment, | ||
Snowflake | ||
>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,7 @@ export enum ApplicationCommandOptionType { | |
Role, | ||
Mentionable, | ||
Number, | ||
Attachment, | ||
} | ||
|
||
/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
payloads/v9/_interactions/_applicationCommands/_chatInput/attachment.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import type { Snowflake } from '../../../../../globals'; | ||
import type { APIApplicationCommandOptionBase, APIInteractionDataOptionBase } from './base'; | ||
import type { ApplicationCommandOptionType } from './shared'; | ||
|
||
export type APIApplicationCommandAttachmentOption = | ||
APIApplicationCommandOptionBase<ApplicationCommandOptionType.Attachment>; | ||
|
||
export type APIApplicationCommandInteractionDataAttachmentOption = APIInteractionDataOptionBase< | ||
ApplicationCommandOptionType.Attachment, | ||
Snowflake | ||
>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,7 @@ export enum ApplicationCommandOptionType { | |
Role, | ||
Mentionable, | ||
Number, | ||
Attachment, | ||
} | ||
|
||
/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters