Skip to content

Commit

Permalink
types - components are optional
Browse files Browse the repository at this point in the history
  • Loading branch information
Nico105 committed Aug 3, 2022
1 parent 653f332 commit e4b589c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion typings/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ export interface GiveawayMessages {
export interface MessageObject {
content?: string;
embed?: JSONEncodable<APIEmbed> | APIEmbed;
components: (
components?: (
| JSONEncodable<APIActionRowComponent<APIMessageActionRowComponent | APIModalActionRowComponent>>
| APIActionRowComponent<APIMessageActionRowComponent | APIModalActionRowComponent>
)[];
Expand Down

0 comments on commit e4b589c

Please sign in to comment.