# (Another) Discourse to Discord webhook

**URL:** https://meta.discourse.org/t/another-discourse-to-discord-webhook/61178
**Category:** Extras
**Created:** [2017年四月18日 08:17 UTC](https://meta.discourse.org/t/another-discourse-to-discord-webhook/61178 "2017-04-18T08:17:33Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![ellotheth](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ellotheth/32/129982_2.png) [@ellotheth](https://meta.discourse.org/u/ellotheth)
#### Post date: [2017年四月18日 08:17 UTC](https://meta.discourse.org/t/another-discourse-to-discord-webhook/61178/1 "2017-04-18T08:17:33Z")

</div>

> [@ellotheth](#):
>
> ℹ Pushing Discourse posts to Discord is now supported in [a real Discord plugin](https://meta.discourse.org/t/set-up-discord-notifications-using-the-discourse-chat-integration-plugin/66600). Use that instead of this unless fiddling with webservers and PHP is your jam.

[https://github.com/ellotheth/distodis](https://github.com/ellotheth/distodis)

I somehow managed to overlook [this one](https://meta.discourse.org/t/discourse-to-discord-webhook) until mine was done. The more the merrier?!

---

<div class="post-metadata">

### Author: ![erlend\_sh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/erlend_sh/32/119475_2.png) [@erlend\_sh](https://meta.discourse.org/u/erlend_sh)
#### Post date: [2017年四月18日 14:32 UTC](https://meta.discourse.org/t/another-discourse-to-discord-webhook/61178/2 "2017-04-18T14:32:33Z")

</div>

> [@ellotheth](#):
>
> The more the merrier?!

Err, not really 😛 Since both are written in PHP, we’d strongly prefer it if the two of you ended up maintaining a single project together. There’s much more to be gained from that.

I don’t know how specific @DanielMarquard’s code is to Crit Cola though; that might justify keeping the two codebases separate, at least in the short term.

On a different note, if you think you’d be able to make [something like this](https://meta.discourse.org/t/slack-post-chat-snapshot-to-discourse/51085) for Discord, let me know, as that’s the type of work we’d be interested in sponsoring.

---

<div class="post-metadata">

### Author: ![toleressea](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/toleressea/32/121071_2.png) [@toleressea](https://meta.discourse.org/u/toleressea)
#### Post date: [2017年四月18日 15:17 UTC](https://meta.discourse.org/t/another-discourse-to-discord-webhook/61178/3 "2017-04-18T15:17:56Z")

</div>

The more the merrier! At least according to this…

> A directory of all extensions & integrations for Discourse which are not Discourse plugins, i.e. a CMS plugin, a browser extension or a native application. If you’re presenting a self-contained utility or tool of some kind that relates to Discourse, this is the place to put it.

People can review all the options and pick the best one! In other news, I have a totally unrelated feature request I was hoping you could spend your free time on…

---

<div class="post-metadata">

### Author: ![DanielMarquard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/danielmarquard/32/74010_2.png) [@DanielMarquard](https://meta.discourse.org/u/DanielMarquard)
#### Post date: [2017年四月18日 22:23 UTC](https://meta.discourse.org/t/another-discourse-to-discord-webhook/61178/4 "2017-04-18T22:23:41Z")

</div>

> [@erlend\_sh](#):
>
> I don’t know how specific @DanielMarquard’s code is to Crit Cola though; that might justify keeping the two codebases separate, at least in the short term.

Crit Cola’s Discourse-to-Discord webhook will work for anyone, but limitations in Discord’s embeds led me to go in my own direction in terms of the appearance of the embeds and what information they’re inclusive of. Here’s what the embeds look like using Crit Cola’s config, but with no other code changes as compared to what’s in the public repo:

 ![](https://global.discourse-cdn.com/meta/original/3X/a/0/a0c6553702ff4fe5e4740dc9ef8e32df3ab598af.jpg)

This can be easily forked and customized to achieve a different layout, but this isn’t required.

> [@erlend\_sh](#):
>
> Err, not really 😛 Since both are written in PHP, we’d strongly prefer it if the two of you ended up maintaining a single project together. There’s much more to be gained from that.

I’d very much favor a more native solution that doesn’t use PHP. I work a lot with Node.js and PHP, but not so much with Ruby. 😕

---

<div class="post-metadata">

### Author: ![ellotheth](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ellotheth/32/129982_2.png) [@ellotheth](https://meta.discourse.org/u/ellotheth)
#### Post date: [2019年一月25日 17:50 UTC](https://meta.discourse.org/t/another-discourse-to-discord-webhook/61178/5 "2019-01-25T17:50:05Z")

</div>

_(Can’t edit the original post, so apologies for the necro._)

Pushing Discourse posts to Discord is now supported in [a real Discord plugin](https://meta.discourse.org/t/set-up-discord-notifications-using-the-discourse-chat-integration-plugin/66600). Use that instead of this unless fiddling with webservers and PHP is your jam.

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [2019年一月25日 17:53 UTC](https://meta.discourse.org/t/another-discourse-to-discord-webhook/61178/6 "2019-01-25T17:53:28Z")

</div>

> [@ellotheth](#):
>
> _(Can’t edit the original post, so apologies for the necro._ )

Made it a wiki so you can edit it 😉

---

<div class="post-metadata">

### Author: ![ellotheth](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ellotheth/32/129982_2.png) [@ellotheth](https://meta.discourse.org/u/ellotheth)
#### Post date: [2019年一月25日 18:12 UTC](https://meta.discourse.org/t/another-discourse-to-discord-webhook/61178/7 "2019-01-25T18:12:20Z")

</div>

And you fixed it! Thanks muchly!

---

<div class="post-metadata">

### Author: ![erlend\_sh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/erlend_sh/32/119475_2.png) [@erlend\_sh](https://meta.discourse.org/u/erlend_sh)
#### Post date: [2019年二月5日 14:37 UTC](https://meta.discourse.org/t/another-discourse-to-discord-webhook/61178/8 "2019-02-05T14:37:32Z")

</div>


