-
Notifications
You must be signed in to change notification settings - Fork 17
Home
Markoudstaal edited this page Jul 22, 2021
·
25 revisions
Welcome to the node-red-contrib-discord-advanced wiki!
This package is based on node-red-contrib-discord by Joris vd Donk which can be found here. That package hasn't been updated in a while and is lacking in a few features. Therefore this advanced package has been created to provide a more up-to-date and feature packed node library.
This package allows you to interact with Discord in Node-RED. It works by using DiscordJS and has the following actions build in:
- Receive messages from any Discord servers your BOT is in.
- Send messages in a specific channel.
- Send private messages to users.
- Add attachments to messages.
- Edit messages in a channel.
- Delete messages in a channel.
- Allow full control over the BOT by access of the DiscordJS client.
All these features are packed into 4 nodes:
- discordMessage
- discordSendMessage
- discordDeleteMessage
- discordClient
- Home
- Installation and setup
- Nodes
-
Examples
- Creating a thread
- Setting a bot status
- Reacting to a message
- Attach an image from disk
- Attach an image from buffer on an embed
- Attach an array of attachments
- Publish a new message on announcement channel
- Publish an existing message on announcement channel
- Set Role with discordPermission
- Remove Role with discordPermission
- Interaction Examples