2 files changed, 10 insertions, 0 deletions
diff --git a/assets/schemas.json b/assets/schemas.json
index b513ee03..7d458c26 100644
--- a/assets/schemas.json
+++ b/assets/schemas.json
@@ -93564,6 +93564,10 @@
"items": {
"type": "string"
}
+ },
+ "components": {
+ "type": "array",
+ "items": {}
}
},
"additionalProperties": false,
@@ -97883,6 +97887,10 @@
"items": {
"type": "string"
}
+ },
+ "components": {
+ "type": "array",
+ "items": {}
}
},
"additionalProperties": false,
diff --git a/src/util/schemas/MessageCreateSchema.ts b/src/util/schemas/MessageCreateSchema.ts
index 91c0817c..57abf62f 100644
--- a/src/util/schemas/MessageCreateSchema.ts
+++ b/src/util/schemas/MessageCreateSchema.ts
@@ -54,4 +54,6 @@ export interface MessageCreateSchema {
**/
attachments?: Attachment[];
sticker_ids?: string[];
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
+ components?: any[];
}
|