# 如何使用 Discord Webhook 发送 Discourse Webhooks?

**URL:** https://meta.discourse.org/t/how-to-send-discourse-webhooks-using-a-discord-webhook/277208
**Category:** Development
**Tags:** webhooks
**Created:** [2023年八月30日 15:55 UTC](https://meta.discourse.org/t/how-to-send-discourse-webhooks-using-a-discord-webhook/277208 "2023-08-30T15:55:52Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [2023年八月31日 03:38 UTC](https://meta.discourse.org/t/how-to-send-discourse-webhooks-using-a-discord-webhook/277208/5 "2023-08-31T03:38:44Z")

</div>

> [@Glow](#):
>
> 我的 webhook 大致是这样的，当我为 GitHub 设置 webhook 时，我必须在链接末尾添加 /github，所以也许我需要添加 /discourse？

我认为您是按照本指南设置的：[https://gist.github.com/SGTGunner/50d6a3cc0d489cf779f77695ba3e22ea。](https://gist.github.com/SGTGunner/50d6a3cc0d489cf779f77695ba3e22ea%E3%80%82)

如果我理解正确的话，您正试图将 Discourse webhook 发送到 Discord。是这样吗？如果是这样，要使其正常工作可能会有些复杂。这是一个旧帖子，但有关该问题的信息在此主题的第一个回复中：

> [@Has any one tried webhooks with Discord?](https://meta.discourse.org/t/has-any-one-tried-webhooks-with-discord/51785):
>
> Discord recently released webhooks I am having 400 errors after exactly following the procedure layed out by the discord team. Is any one successful of achieveing the webhook with discord?

该主题的第二个回复显示了如何使用 Zapier 来实现它。另一种可能的方法是：[https://meta.discourse.org/t/discourse-to-discord-webhook/55273。这一切似乎都过于复杂了。最近有人尝试过将](https://meta.discourse.org/t/discourse-to-discord-webhook/55273%E3%80%82%E8%BF%99%E4%B8%80%E5%88%87%E4%BC%BC%E4%B9%8E%E9%83%BD%E8%BF%87%E4%BA%8E%E5%A4%8D%E6%9D%82%E4%BA%86%E3%80%82%E6%9C%80%E8%BF%91%E6%9C%89%E4%BA%BA%E5%B0%9D%E8%AF%95%E8%BF%87%E5%B0%86) Discourse webhook 指向 Discord 吗？

---

_[View the full topic](https://meta.discourse.org/t/how-to-send-discourse-webhooks-using-a-discord-webhook/277208)._
