File tree Expand file tree Collapse file tree 4 files changed +4
-20
lines changed Expand file tree Collapse file tree 4 files changed +4
-20
lines changed Original file line number Diff line number Diff line change 11import type { RESTPostAPIWebhookWithTokenJSONBody } from '../../../v10.ts' ;
22import type { APIActionRowComponent , APIModalActionRowComponent } from '../channel.ts' ;
3- import type { MessageFlags } from '../mod.ts' ;
43import type { APIApplicationCommandOptionChoice } from './applicationCommands.ts' ;
54
65/**
@@ -120,10 +119,7 @@ export enum InteractionResponseType {
120119/**
121120 * https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-response-object-interaction-callback-data-structure
122121 */
123- export type APIInteractionResponseCallbackData = Omit <
124- RESTPostAPIWebhookWithTokenJSONBody ,
125- 'avatar_url' | 'username'
126- > & { flags ?: MessageFlags } ;
122+ export type APIInteractionResponseCallbackData = Omit < RESTPostAPIWebhookWithTokenJSONBody , 'avatar_url' | 'username' > ;
127123
128124export interface APICommandAutocompleteInteractionResponseCallbackData {
129125 choices ?: APIApplicationCommandOptionChoice [ ] ;
Original file line number Diff line number Diff line change 11import type { RESTPostAPIWebhookWithTokenJSONBody } from '../../../v9.ts' ;
22import type { APIActionRowComponent , APIModalActionRowComponent } from '../channel.ts' ;
3- import type { MessageFlags } from '../mod.ts' ;
43import type { APIApplicationCommandOptionChoice } from './applicationCommands.ts' ;
54
65/**
@@ -120,10 +119,7 @@ export enum InteractionResponseType {
120119/**
121120 * https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-response-object-interaction-callback-data-structure
122121 */
123- export type APIInteractionResponseCallbackData = Omit <
124- RESTPostAPIWebhookWithTokenJSONBody ,
125- 'avatar_url' | 'username'
126- > & { flags ?: MessageFlags } ;
122+ export type APIInteractionResponseCallbackData = Omit < RESTPostAPIWebhookWithTokenJSONBody , 'avatar_url' | 'username' > ;
127123
128124export interface APICommandAutocompleteInteractionResponseCallbackData {
129125 choices ?: APIApplicationCommandOptionChoice [ ] ;
Original file line number Diff line number Diff line change 11import type { RESTPostAPIWebhookWithTokenJSONBody } from '../../../v10' ;
22import type { APIActionRowComponent , APIModalActionRowComponent } from '../channel' ;
3- import type { MessageFlags } from '../index' ;
43import type { APIApplicationCommandOptionChoice } from './applicationCommands' ;
54
65/**
@@ -120,10 +119,7 @@ export enum InteractionResponseType {
120119/**
121120 * https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-response-object-interaction-callback-data-structure
122121 */
123- export type APIInteractionResponseCallbackData = Omit <
124- RESTPostAPIWebhookWithTokenJSONBody ,
125- 'avatar_url' | 'username'
126- > & { flags ?: MessageFlags } ;
122+ export type APIInteractionResponseCallbackData = Omit < RESTPostAPIWebhookWithTokenJSONBody , 'avatar_url' | 'username' > ;
127123
128124export interface APICommandAutocompleteInteractionResponseCallbackData {
129125 choices ?: APIApplicationCommandOptionChoice [ ] ;
Original file line number Diff line number Diff line change 11import type { RESTPostAPIWebhookWithTokenJSONBody } from '../../../v9' ;
22import type { APIActionRowComponent , APIModalActionRowComponent } from '../channel' ;
3- import type { MessageFlags } from '../index' ;
43import type { APIApplicationCommandOptionChoice } from './applicationCommands' ;
54
65/**
@@ -120,10 +119,7 @@ export enum InteractionResponseType {
120119/**
121120 * https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-response-object-interaction-callback-data-structure
122121 */
123- export type APIInteractionResponseCallbackData = Omit <
124- RESTPostAPIWebhookWithTokenJSONBody ,
125- 'avatar_url' | 'username'
126- > & { flags ?: MessageFlags } ;
122+ export type APIInteractionResponseCallbackData = Omit < RESTPostAPIWebhookWithTokenJSONBody , 'avatar_url' | 'username' > ;
127123
128124export interface APICommandAutocompleteInteractionResponseCallbackData {
129125 choices ?: APIApplicationCommandOptionChoice [ ] ;
You can’t perform that action at this time.
0 commit comments