-
Notifications
You must be signed in to change notification settings - Fork 0
Installation and setup
To install this package of nodes you have 2 options.
Open the node pallet manager via the hamburger menu in the top right and then clicking 'Manage palette'. Next open the 'Install' tab and in the searchbar type 'node-red-contrib-discord-advanced'. This package should show up from where you can press install and the nodes will be added to your pallet on the left side of Node-RED.
To install the package with npm you'll have to open a command prompt and change directory to the Node-RED folder. This should be ~/.node-red. From there you can enter the following command:
npm install node-red-contrib-discord-advanced
To setup this package you'll need a token for your BOT. To find out how to get a token you can follow this guide.
To enter your token, drag any of the Discord nodes onto your flow. Then double-click on it. You'll see the following:
Press the edit button on the right to add a new token. The following windows will open:
Here you can enter your token in the first field and give it a name in the second. After pressing 'Add' in the top right this token will become available for all discord nodes you add to your flow after. Therefore you only need to enter the token once.
- Home
- Installation and setup
- Nodes
-
Examples
- Responding to button and Select Menu
- Creating components
- Creating Slash Commands
- Responding to commands
- Responding to commands with ephemeral response
- 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