如何使用此JSON数据并将其发送到不和谐的Webhook?

时间:2020-10-25 07:07:45

标签: json

我正在制作一个使用不和谐webhook系统发送消息的google扩展程序。 我已经为其制作了JSON数据,但不知道要运行它。

JSON数据:

{
  "embeds": [
    {
      "title": "more stuff here",
      "url": "some url here",
      "color": 324863,
      "fields": [
        {
          "name": something more",
          "value": "and more",
          "inline": true
        }
      ],
      "author": {
        "name": "some name"
      }
    }
  ],
  "username": "a name",
  "avatar_url": "here will be a picture url"
}

并使其成为函数,因此当用户执行操作时,将触发该函数并发送数据。预先感谢!

0 个答案:

没有答案
相关问题