Closed shibingli closed 1 year ago
大家碰到这种情况了么?
单击按钮后,发送的请求:
{
"type": 3,
"nonce": "1112675989332164608",
"guild_id": "xxxxxxxxxxxxxxxxx",
"channel_id": "xxxxxxxxxxxxxxxxx",
"message_flags": 64,
"message_id": "1112675669818744904",
"application_id": "936929561302675456",
"session_id": "e1b874e034cf4ddc6c9901abc282db5a",
"data": {
"component_type": 2,
"custom_id": "MJ::Prompts::Appeal::7_dEy36TiEY"
}
}
MJ::Prompts::Appeal::7_dEy36TiEY
中的7_dEy36TiEY
不晓得是怎么来的。
后端用UserToken连接到websocket获取到的msg是:
{
"id": "1112675669818744904",
"channel_id": "xxxxxxxxxxxxxxxxxxxxxxxxx",
"content": "",
"timestamp": "2023-05-29T09:35:52.199Z",
"edited_timestamp": null,
"mention_roles": [],
"tts": false,
"mention_everyone": false,
"author": {
"id": "936929561302675456",
"email": "",
"username": "Midjourney Bot",
"avatar": "4a79ea7cd151474ff9f6e08339d69380",
"locale": "",
"discriminator": "9282",
"token": "",
"verified": false,
"mfa_enabled": false,
"banner": "",
"accent_color": 0,
"bot": true,
"public_flags": 589824,
"premium_type": 0,
"system": false,
"flags": 0
},
"attachments": [],
"embeds": [
{
"type": "rich",
"title": "Action needed to continue",
"description": "Sorry! Our AI moderators feel your prompt might be against our community standards.nn If you think this is a mistake, please press the \"Appeal\" button below and we will send it to a more sophisticated AI to double-check the result.",
"color": 16711680,
"footer": {
"text": "/imagine u003c#7b6dfd08a3#u003egril"
}
}
],
"mentions": [],
"reactions": null,
"pinned": false,
"type": 20,
"webhook_id": "936929561302675456",
"member": null,
"mention_channels": null,
"activity": null,
"application": null,
"message_reference": null,
"referenced_message": null,
"interaction": {
"id": "1112675667159560192",
"type": 2,
"name": "imagine",
"user": {
"id": "xxxxxxxxxxxxxxxxxxxx",
"email": "",
"username": "xxxxxxxxx",
"avatar": "",
"locale": "",
"discriminator": "xxxx",
"token": "",
"verified": false,
"mfa_enabled": false,
"banner": "",
"accent_color": 0,
"bot": false,
"public_flags": 0,
"premium_type": 0,
"system": false,
"flags": 0
},
"member": null
},
"flags": 64,
"sticker_items": null
}
我目前没有出现这种情况啊。。。