fix
This commit is contained in:
		
							parent
							
								
									f8d7cbccc7
								
							
						
					
					
						commit
						38b11f4076
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		|  | @ -31,7 +31,7 @@ import { TextChannel } from './textChannel.ts' | ||||||
| import { User } from './user.ts' | import { User } from './user.ts' | ||||||
| 
 | 
 | ||||||
| interface WebhookMessageOptions extends MessageOptions { | interface WebhookMessageOptions extends MessageOptions { | ||||||
|   embeds?: Embed[] |   embeds?: Array<Embed | EmbedPayload> | ||||||
|   name?: string |   name?: string | ||||||
|   avatar?: string |   avatar?: string | ||||||
| } | } | ||||||
|  | @ -41,7 +41,7 @@ type AllWebhookMessageOptions = string | WebhookMessageOptions | ||||||
| /** Interaction Message related Options */ | /** Interaction Message related Options */ | ||||||
| export interface InteractionMessageOptions { | export interface InteractionMessageOptions { | ||||||
|   content?: string |   content?: string | ||||||
|   embeds?: EmbedPayload[] |   embeds?: Array<Embed | EmbedPayload> | ||||||
|   tts?: boolean |   tts?: boolean | ||||||
|   flags?: number | InteractionResponseFlags[] |   flags?: number | InteractionResponseFlags[] | ||||||
|   allowedMentions?: AllowedMentionsPayload |   allowedMentions?: AllowedMentionsPayload | ||||||
|  | @ -254,7 +254,7 @@ export class Interaction extends SnowflakeBase { | ||||||
|   /** Edit the original Interaction response */ |   /** Edit the original Interaction response */ | ||||||
|   async editResponse(data: { |   async editResponse(data: { | ||||||
|     content?: string |     content?: string | ||||||
|     embeds?: EmbedPayload[] |     embeds?: Array<Embed | EmbedPayload> | ||||||
|     flags?: number | number[] |     flags?: number | number[] | ||||||
|     allowedMentions?: AllowedMentionsPayload |     allowedMentions?: AllowedMentionsPayload | ||||||
|   }): Promise<Interaction> { |   }): Promise<Interaction> { | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue