跳到内容
Discord
Discord 100% 本地免费免登录

Discord Webhook 嵌入构建器

创建带嵌入的 Discord Webhook 消息:实时预览、JSON 和 curl 示例。本站不会发送任何内容。

最后更新:2026/10/9

100% 本地处理,数据保存在您的浏览器中。

文档
消息
嵌入 1/1
合计字符数: 50/6000

字段 (1/25)

并排
预览
近似预览:不加载图片(不向第三方域名发起请求)。

Webhook BOT

Server status

The server is **online**.

Players

12/50

现在

JSON
{
  "embeds": [
    {
      "title": "Server status",
      "description": "The server is **online**.",
      "color": 5793266,
      "timestamp": "2026-10-10T10:19:33.543Z",
      "fields": [
        {
          "name": "Players",
          "value": "12/50",
          "inline": true
        }
      ]
    }
  ]
}
curl
将 WEBHOOK_ID 和 WEBHOOK_TOKEN 替换为您的 Webhook URL 中的值。
curl -X POST "https://discord.com/api/webhooks/WEBHOOK_ID/WEBHOOK_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"embeds":[{"title":"Server status","description":"The server is **online**.","color":5793266,"timestamp":"2026-10-10T10:19:33.543Z","fields":[{"name":"Players","value":"12/50","inline":true}]}]}'
服务器安装指南还没有服务器?可在本地或 VPS / 独立服务器上安装,含端口与防火墙设置。

如何使用 Discord Webhook 嵌入构建器?

Discord Webhook 通过携带 JSON 的简单 HTTP POST 向频道发布消息。该工具可视化构建此 JSON(含嵌入)并给出对应的 curl 命令。本站不会向 Discord 发送任何内容,请求由您自行执行。

  1. 在 Discord 中:频道设置 → 集成 → Webhook → 新建 Webhook,复制 Webhook URL(请保密)。

  2. 填写内容、名称和第一个嵌入:标题、描述、颜色、字段。

  3. 留意预览和限制提示(总计 6000 字符、25 个字段、10 个嵌入)。

  4. 复制 JSON,或将 curl 命令中的 WEBHOOK_ID/WEBHOOK_TOKEN 替换为您 URL 中的值,然后在自己的电脑或服务器上运行。

阅读完整文档 →

常见问题

Discord
Discord免登录
在 Discord 权限整数与复选框之间互相转换,使用官方位值。
权限机器人打开
文档
Discord
Discord免登录
生成机器人的 OAuth2 邀请链接:client_id、scope、权限、预选服务器。
OAuth2机器人打开
文档