【问题标题】:Zapier → Discord Webhook Embed Doesn't WorkZapier → Discord Webhook 嵌入不起作用
【发布时间】:2021-02-14 14:16:09
【问题描述】:

我在content 字段中的内容只是作为原始文本发送。 usernameavatar_url 字段有效。
Zap Setup
What the webhook posts in Discord

【问题讨论】:

    标签: discord webhooks zapier


    【解决方案1】:

    根据the Discord docscontent 是一个包含消息文本的字符串。 embed 是传递嵌入对象时使用的键。我认为您需要将 content 键替换为 embed 并更改值以提升当前位于 embeds 数组中的对象。

    【讨论】:

    • 使用 embed 返回错误“无法发送空消息”。在单独的字段中使用 embedcontent 仅返回 content 字段中的内容。使用 embeds 返回“错误请求”错误。
    • 这里是webhooks的文档,顺便说一句
    猜你喜欢
    • 2014-07-19
    • 2020-04-11
    • 2021-06-16
    • 2021-11-26
    • 2021-01-23
    • 2019-01-15
    • 2021-06-27
    • 2019-03-04
    • 2020-07-08
    相关资源
    最近更新 更多