https://github.com/amargon/nodebb-plugin-discord-notification
Send notifications of new posts and topics via Discord webhook
https://github.com/amargon/nodebb-plugin-discord-notification
discord nodebb plugin
Last synced: 23 days ago
JSON representation
Send notifications of new posts and topics via Discord webhook
- Host: GitHub
- URL: https://github.com/amargon/nodebb-plugin-discord-notification
- Owner: amargon
- License: mit
- Created: 2017-04-14T12:20:16.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2022-04-08T20:07:48.000Z (about 3 years ago)
- Last Synced: 2025-04-15T10:56:54.412Z (about 1 month ago)
- Topics: discord, nodebb, plugin
- Language: JavaScript
- Homepage:
- Size: 215 KB
- Stars: 8
- Watchers: 1
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Discord Notifications for NodeBB
[](https://www.npmjs.com/package/nodebb-plugin-discord-notification) [](https://www.npmjs.com/package/nodebb-plugin-discord-notification) 
Send notifications of new posts and topics via [Discord](https://discord.com/) webhook.
It’s like [NodeBB Slack](https://github.com/pichalite/nodebb-plugin-slack-extended) plugin, but for Discord. Fancy rich embeds included.
## Configuration
1. Install the plugin and activate it.
2. Create a Discord webhook (Server Settings → Integrations).
You’ll get an URL like `https://discord.com/api/webhooks//`.
3. Fill in **Webhook URL** field on the plugin settings page.
4. Restart NodeBB.## Customization
The border color of an embedded post excerpt depends on a background color of its category.
The **Message** field is optional and blank by default.
Fill it in to set a custom short text to be placed before the embedded content.For example, you can add some mentions as on the screenshot below.
Use `@here` or `@everyone` as usual or type `<@UserID>` to mention a member, `<@&RoleID>` to mention a role and `<#ChannelID>` for a channel reference.To get the IDs, enable Developer Mode (Discord App Settings → Appearance), right click a user or a channel and select *Copy ID*. The other way is to add a backslash to mentions in the chat (i.e `\@User`, `\@Role` or `\#Channel`).
## Support
This plugin is under **minimal maintenance**.
It was made for a forum I manage and published as-is for the benefit of the community. As long as that forum exists I might add simple bugfixes or compatibility updates if necessary, but anything more time-consuming than a couple of hours a month is just out of my hands.
All the unclear bug reports (you know, all these “It doesn’t work” ones without any notes on how to reproduce the issue) will be closed without comment.
**Pull requests are highly welcome and appreciated.**
I might miss notifications from GitHub, so if I haven’t replied in a week or so, feel free to ping me.## Screenshots
### Notification

### ACP UI
