发送消息 type2 和 type3

This commit is contained in:
cherishsince 2024-04-02 00:43:38 +08:00
parent 5d4a111170
commit e91e7355dc
2 changed files with 62 additions and 0 deletions

View File

@ -0,0 +1,48 @@
{
"type": 2,
"application_id": "936929561302675456",
"guild_id": "1224337694918971392",
"channel_id": "1224337694918971396",
"session_id": "696318caed5180a2210e358e44801449",
"data": {
"version": "1166847114203123795",
"id": "938956540159881230",
"name": "imagine",
"type": 1,
"options": [
{
"type": 3,
"name": "prompt",
"value": "中国的是什么样子"
}
],
"application_command": {
"id": "938956540159881230",
"type": 1,
"application_id": "936929561302675456",
"version": "1166847114203123795",
"name": "imagine",
"description": "Create images with Midjourney",
"options": [
{
"type": 3,
"name": "prompt",
"description": "The prompt to imagine",
"required": true,
"description_localized": "The prompt to imagine",
"name_localized": "prompt"
}
],
"dm_permission": true,
"integration_types": [
0
],
"global_popularity_rank": 1,
"description_localized": "Create images with Midjourney",
"name_localized": "imagine"
},
"attachments": []
},
"nonce": "1224342266261274624",
"analytics_location": "slash_ui"
}

View File

@ -0,0 +1,14 @@
{
"type": 3,
"nonce": "1224397626158350336",
"guild_id": "1224337694918971392",
"channel_id": "1224337694918971396",
"message_flags": 64,
"message_id": "1224397599197368330",
"application_id": "936929561302675456",
"session_id": "0d9ae3c799f2fb55ff435df5e6deb121",
"data": {
"component_type": 2,
"custom_id": "MJ::ModMsg::Ack::2744093999977583880"
}
}