# 聊天集成：Discord Webhooks 问题

**URL:** <https://meta.discourse.org/t/chat-integration-issue-with-discord-webhooks/174537>\
**Category:** Support\
**Tags:** chat-integration\
**Created:** [2020年十二月29日 21:17 UTC](https://meta.discourse.org/t/chat-integration-issue-with-discord-webhooks/174537 "2020-12-29T21:17:16Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![CrackMasterK](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/crackmasterk/32/125463_2.png) [@CrackMasterK](https://meta.discourse.org/u/CrackMasterK)\
**Post date:** [2020年十二月29日 21:17 UTC](https://meta.discourse.org/t/chat-integration-issue-with-discord-webhooks/174537/1 "2020-12-29T21:17:16Z")

</div>

正在尝试解决一个问题，但似乎还没找到原因。我已经检查了所有地方，但仍然报错。

![image](https://global.discourse-cdn.com/meta/original/3X/b/e/be0b3bd0fd6c3627ebec8d47a4cc5a4f9024f341.png)

 ![image](https://global.discourse-cdn.com/meta/original/3X/4/2/425c0879de115145117efef1b066bfc979bd43c2.png)

> {  
> “error\_key”: null,  
> “message”: {  
> “content”: “Cim Boards 对 Cimmarian 会员完全免费，立即注册！”,  
> “embeds”: [  
> {  
> “title”: “DOOM 原声音乐在 2016 游戏大奖现场演出 [射击 / 大逃杀/DOOM] doom, video-game-soundtrack, doom-2016”,  
> “color”: 12525102,  
> “description”: “[DOOM 原声音乐在 2016 游戏大奖现场演出]\n \n\n\n作曲家 Mick Gordon 在 2016 游戏大奖上现场演绎 DOOM 原声音乐。Mick 与来自 Periphery 的 Matt Halpern 以及 Sonic Mayhem 共同演出。”,  
> “url”: “[https://boards.cimmarian.com/t/doom-soundtrack-live-at-the-game-awards-2016/563/1](https://boards.cimmarian.com/t/doom-soundtrack-live-at-the-game-awards-2016/563/1)”,  
> “author”: {  
> “name”: “@CrackMasterK”,  
> “url”: “[https://boards.cimmarian.com/u/CrackMasterK](https://boards.cimmarian.com/u/CrackMasterK)”,  
> “icon\_url”: “[https://boards.cimmarian.com/user\_avatar/boards.cimmarian.com/crackmasterk/45/2\_2.png](https://boards.cimmarian.com/user_avatar/boards.cimmarian.com/crackmasterk/45/2_2.png)”  
> }  
> }  
> ]  
> },  
> “response\_body”: “\r\n403 Forbidden\r\n\r\n
> 
> # 403 Forbidden
> \r\n
> * * *
> cloudflare\r\n\r\n\r\n”  
> }

 ![image](https://global.discourse-cdn.com/meta/original/3X/9/a/9af62eaea0326e6ace32e166041d1956e4d5d861.png)

如果你发现我遗漏了什么，请告诉我。我看到了 403 Forbidden 错误，但我不太明白具体是被禁止了什么？

---

<div class="post-metadata">

**Author:** ![CrackMasterK](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/crackmasterk/32/125463_2.png) [@CrackMasterK](https://meta.discourse.org/u/CrackMasterK)\
**Post date:** [2020年十二月29日 21:46 UTC](https://meta.discourse.org/t/chat-integration-issue-with-discord-webhooks/174537/2 "2020-12-29T21:46:36Z")

</div>

找到解决方案了，Discord 的 Webhook 现在使用 [discord.com](http://discord.com)，如果你使用 [discordapp.com](http://discordapp.com) 也能正常工作。

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [2021年一月2日 10:18 UTC](https://meta.discourse.org/t/chat-integration-issue-with-discord-webhooks/174537/3 "2021-01-02T10:18:28Z")

</div>

@david，我们是否需要在此处更新文档？

---

<div class="post-metadata">

**Author:** ![justin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/justin/32/157614_2.png) [@justin](https://meta.discourse.org/u/justin)\
**Post date:** [2021年一月4日 22:57 UTC](https://meta.discourse.org/t/chat-integration-issue-with-discord-webhooks/174537/4 "2021-01-04T22:57:06Z")

</div>

我已根据 @CrackMasterK 的解决方案更新了指南，并添加了相关说明。近几个月来我曾尝试过此方案，并更新了插件以支持 `discord.com` 的 Webhook 链接，但这些链接在 Discord 端会报错。我认为这与插件本身无关。

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)\
**Post date:** [2021年二月3日 22:57 UTC](https://meta.discourse.org/t/chat-integration-issue-with-discord-webhooks/174537/5 "2021-02-03T22:57:13Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
