diff --git a/deno/payloads/v8/_interactions/ping.ts b/deno/payloads/v8/_interactions/ping.ts new file mode 100644 index 00000000..cb70b675 --- /dev/null +++ b/deno/payloads/v8/_interactions/ping.ts @@ -0,0 +1,4 @@ +import type { APIBaseInteraction } from './base.ts'; +import type { InteractionType } from './responses.ts'; + +export type APIPingInteraction = APIBaseInteraction; diff --git a/deno/payloads/v8/interactions.ts b/deno/payloads/v8/interactions.ts index bdb64400..4026f877 100644 --- a/deno/payloads/v8/interactions.ts +++ b/deno/payloads/v8/interactions.ts @@ -3,6 +3,7 @@ import type { APIMessageComponentGuildInteraction, APIMessageComponentInteraction, } from './_interactions/messageComponents.ts'; +import type { APIPingInteraction } from './_interactions/ping.ts'; import type { APIApplicationCommandDMInteraction, APIApplicationCommandGuildInteraction, @@ -14,7 +15,7 @@ export * from './_interactions/messageComponents.ts'; export * from './_interactions/responses.ts'; export * from './_interactions/slashCommands.ts'; -export type APIInteraction = APIApplicationCommandInteraction | APIMessageComponentInteraction; +export type APIInteraction = APIPingInteraction | APIApplicationCommandInteraction | APIMessageComponentInteraction; export type APIDMInteraction = APIApplicationCommandDMInteraction | APIMessageComponentDMInteraction; diff --git a/deno/payloads/v9/_interactions/ping.ts b/deno/payloads/v9/_interactions/ping.ts new file mode 100644 index 00000000..cb70b675 --- /dev/null +++ b/deno/payloads/v9/_interactions/ping.ts @@ -0,0 +1,4 @@ +import type { APIBaseInteraction } from './base.ts'; +import type { InteractionType } from './responses.ts'; + +export type APIPingInteraction = APIBaseInteraction; diff --git a/deno/payloads/v9/interactions.ts b/deno/payloads/v9/interactions.ts index bdb64400..4026f877 100644 --- a/deno/payloads/v9/interactions.ts +++ b/deno/payloads/v9/interactions.ts @@ -3,6 +3,7 @@ import type { APIMessageComponentGuildInteraction, APIMessageComponentInteraction, } from './_interactions/messageComponents.ts'; +import type { APIPingInteraction } from './_interactions/ping.ts'; import type { APIApplicationCommandDMInteraction, APIApplicationCommandGuildInteraction, @@ -14,7 +15,7 @@ export * from './_interactions/messageComponents.ts'; export * from './_interactions/responses.ts'; export * from './_interactions/slashCommands.ts'; -export type APIInteraction = APIApplicationCommandInteraction | APIMessageComponentInteraction; +export type APIInteraction = APIPingInteraction | APIApplicationCommandInteraction | APIMessageComponentInteraction; export type APIDMInteraction = APIApplicationCommandDMInteraction | APIMessageComponentDMInteraction; diff --git a/payloads/v8/_interactions/ping.ts b/payloads/v8/_interactions/ping.ts new file mode 100644 index 00000000..c774ae4c --- /dev/null +++ b/payloads/v8/_interactions/ping.ts @@ -0,0 +1,4 @@ +import type { APIBaseInteraction } from './base'; +import type { InteractionType } from './responses'; + +export type APIPingInteraction = APIBaseInteraction; diff --git a/payloads/v8/interactions.ts b/payloads/v8/interactions.ts index 53998b7e..6260070d 100644 --- a/payloads/v8/interactions.ts +++ b/payloads/v8/interactions.ts @@ -3,6 +3,7 @@ import type { APIMessageComponentGuildInteraction, APIMessageComponentInteraction, } from './_interactions/messageComponents'; +import type { APIPingInteraction } from './_interactions/ping'; import type { APIApplicationCommandDMInteraction, APIApplicationCommandGuildInteraction, @@ -14,7 +15,7 @@ export * from './_interactions/messageComponents'; export * from './_interactions/responses'; export * from './_interactions/slashCommands'; -export type APIInteraction = APIApplicationCommandInteraction | APIMessageComponentInteraction; +export type APIInteraction = APIPingInteraction | APIApplicationCommandInteraction | APIMessageComponentInteraction; export type APIDMInteraction = APIApplicationCommandDMInteraction | APIMessageComponentDMInteraction; diff --git a/payloads/v9/_interactions/ping.ts b/payloads/v9/_interactions/ping.ts new file mode 100644 index 00000000..c774ae4c --- /dev/null +++ b/payloads/v9/_interactions/ping.ts @@ -0,0 +1,4 @@ +import type { APIBaseInteraction } from './base'; +import type { InteractionType } from './responses'; + +export type APIPingInteraction = APIBaseInteraction; diff --git a/payloads/v9/interactions.ts b/payloads/v9/interactions.ts index 53998b7e..6260070d 100644 --- a/payloads/v9/interactions.ts +++ b/payloads/v9/interactions.ts @@ -3,6 +3,7 @@ import type { APIMessageComponentGuildInteraction, APIMessageComponentInteraction, } from './_interactions/messageComponents'; +import type { APIPingInteraction } from './_interactions/ping'; import type { APIApplicationCommandDMInteraction, APIApplicationCommandGuildInteraction, @@ -14,7 +15,7 @@ export * from './_interactions/messageComponents'; export * from './_interactions/responses'; export * from './_interactions/slashCommands'; -export type APIInteraction = APIApplicationCommandInteraction | APIMessageComponentInteraction; +export type APIInteraction = APIPingInteraction | APIApplicationCommandInteraction | APIMessageComponentInteraction; export type APIDMInteraction = APIApplicationCommandDMInteraction | APIMessageComponentDMInteraction;