diff --git a/yudao-module-ai/yudao-spring-boot-starter-ai/src/main/resources/requestTestJson/job-message.json b/yudao-module-ai/yudao-spring-boot-starter-ai/src/main/resources/requestTestJson/job-message.json new file mode 100644 index 000000000..46f77310f --- /dev/null +++ b/yudao-module-ai/yudao-spring-boot-starter-ai/src/main/resources/requestTestJson/job-message.json @@ -0,0 +1,70 @@ +{ + "op": 0, + "s": 10, + "t": "MESSAGE_CREATE", + "d": { + "mention_everyone": false, + "pinned": false, + "components": [], + "attachments": [], + "interaction_metadata": { + "user_id": "972721304891453450", + "name": "blend", + "authorizing_integration_owners": { + "0": "1225608134878302329" + }, + "id": "1226901083708723310", + "type": 2 + }, + "author": { + "global_name": null, + "bot": true, + "avatar_decoration_data": null, + "public_flags": 589824, + "id": "936929561302675456", + "avatar": "f6ce562a6b4979c4b1cbc5b436d3be76", + "username": "Midjourney Bot", + "discriminator": "9282" + }, + "flags": 64, + "type": 20, + "mention_roles": [], + "nonce": "1226901080604934144", + "application_id": "936929561302675456", + "edited_timestamp": null, + "content": "", + "tts": false, + "webhook_id": "936929561302675456", + "mentions": [], + "interaction": { + "name": "blend", + "id": "1226901083708723310", + "type": 2, + "user": { + "global_name": "tiger", + "avatar_decoration_data": null, + "public_flags": 0, + "id": "972721304891453450", + "avatar": "3646118d04fd12dfd301c4fd17afd801", + "username": "jverbalu4990", + "discriminator": "0" + } + }, + "position": 0, + "id": "1226901087286591558", + "embeds": [ + { + "content_scan_version": 0, + "color": 16239475, + "footer": { + "text": "/imagine https://cdn.discordapp.com/ephemeral-attachments/1062880104792997970/1226901079514419221/srchttp___c-ssl.duitang.com_uploads_item_202001_20_20200120152231_lncpq.thumb.1000_0.jpgreferhttp___c-ssl.duitang.webp?ex=662673ac&is=6613feac&hm=bf9a400940c747fa869b8e4bf2a38238639b67b4b5e799ce1ef2c1f42bab178f& https://cdn.discordapp.com/ephemeral-attachments/1062880104792997970/1226901080970100736/xiyangyang20151021171455974.png?ex=662673ac&is=6613feac&hm=9c8f42ad2dfb1963a9e424c1942c59568544faed4d38f94b678bfcaa60f47b04& --v 5.2 --s 250" + }, + "description": "You have reached the maximum allowed number of concurrent jobs. Don't worry, this job will start as soon as another one finishes!", + "type": "rich", + "title": "Job queued" + } + ], + "channel_id": "1225608134878302332", + "timestamp": "2024-04-08T14:26:53.929000+00:00" + } +}