我正在使用Discord API创建消息: https://discordapp.com/developers/docs/resources/channel#create-message
这是我要发布的数据:
$data = [
'content' => $content,
'embed' => [
'title' => $thread->title,
'description' => $post->message,
'url' => $url,
'author' => [
'name' => $thread->username,
'url' => $thread->user_url,
'icon_url' => $icon,
],
'image' => [
'url' => $image1->url,
]
],
];
所有这些都很好。
但是,我注意到有些人设法编写了可以发布带有多个嵌入式图像的消息的机器人。我该怎么做呢?