Skip to content

Commit

Permalink
add components to message create schema
Browse files Browse the repository at this point in the history
  • Loading branch information
Puyodead1 committed Dec 6, 2023
1 parent 9c8a806 commit c4701a3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
8 changes: 8 additions & 0 deletions assets/schemas.json
Original file line number Diff line number Diff line change
Expand Up @@ -93564,6 +93564,10 @@
"items": {
"type": "string"
}
},
"components": {
"type": "array",
"items": {}
}
},
"additionalProperties": false,
Expand Down Expand Up @@ -97883,6 +97887,10 @@
"items": {
"type": "string"
}
},
"components": {
"type": "array",
"items": {}
}
},
"additionalProperties": false,
Expand Down
2 changes: 2 additions & 0 deletions src/util/schemas/MessageCreateSchema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,6 @@ export interface MessageCreateSchema {
**/
attachments?: Attachment[];
sticker_ids?: string[];
// eslint-disable-next-line @typescript-eslint/no-explicit-any
components?: any[];
}

0 comments on commit c4701a3

Please sign in to comment.