All Projects → jorisvddonk → node-red-contrib-discord

jorisvddonk / node-red-contrib-discord

Licence: other
Node-red nodes that allow you to interact with Discord.

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to node-red-contrib-discord

node-red-contrib-sonospollytts
Play speech TTS using Sonos.
Stars: ✭ 11 (-26.67%)
Mutual labels:  node-red
slash-commands
slash commands handler to make your bot support slash commands.
Stars: ✭ 59 (+293.33%)
Mutual labels:  discord-js
PteroStats
PteroStats is a bot designed to check Pterodactyl Panel and Nodes status and post it to your discord server
Stars: ✭ 122 (+713.33%)
Mutual labels:  discord-js
SiruBOT
SiruBOT, Multipurpose discord musicbot
Stars: ✭ 21 (+40%)
Mutual labels:  discord-js
DraconianJSBot
With its robust performance, intuitive design, and vast array of functionalities, the Draconian Bot is the ultimate solution for all your needs.
Stars: ✭ 113 (+653.33%)
Mutual labels:  discord-js
hyouka
Um bot open-source com dashboard incluída
Stars: ✭ 12 (-20%)
Mutual labels:  discord-js
botkit-discord
🤖👾 A Botkit connector for Discord with support for text, voice, attachments, embedded messages, and more.
Stars: ✭ 37 (+146.67%)
Mutual labels:  discord-js
Aometry
An awesome multipurpose discord bot build using discord.js v13 with support for slash commands and context menus
Stars: ✭ 51 (+240%)
Mutual labels:  discord-js
Gyromina
Gyromina, a multipurpose Discord bot with fun + function all in one
Stars: ✭ 97 (+546.67%)
Mutual labels:  discord-js
node-red-contrib-logstash
NodeRED nodes for visually modeling Logstash pipelines
Stars: ✭ 31 (+106.67%)
Mutual labels:  node-red
theme-collection
A collection of themes for Node-RED
Stars: ✭ 43 (+186.67%)
Mutual labels:  node-red
ToastyXD
Toasty XD is a Discord Bot that has many features, such as slash commands, server verification captcha system, staff inactive notices, staff activity checks and a word blacklist system.
Stars: ✭ 39 (+160%)
Mutual labels:  discord-js
ChatBot
A W.I.P All-in-One Discord Bot
Stars: ✭ 32 (+113.33%)
Mutual labels:  discord-js
Luki
[Deprecated] The official repository for Luki the Discord bot
Stars: ✭ 21 (+40%)
Mutual labels:  discord-js
discord-tictactoe
Highly customizable innovative Discord Bot for playing Tic-Tac-Toe 🎮🏅
Stars: ✭ 84 (+460%)
Mutual labels:  discord-js
Alexi5
A Discord Bot built using discordJS. Started as a joke for spamming memes. Branch "v2" is currently being used for active development. Hosted on Heroku.
Stars: ✭ 19 (+26.67%)
Mutual labels:  discord-js
Max-Bot
Max Bot is an open-source bot made in node-js with discord-js. It Has Commands from fun to moderator.
Stars: ✭ 27 (+80%)
Mutual labels:  discord-js
prodige
Prodige, get straight to it
Stars: ✭ 14 (-6.67%)
Mutual labels:  discord-js
discord-super-utils
A modern python module including many useful features that make discord bot programming extremely easy.
Stars: ✭ 106 (+606.67%)
Mutual labels:  discord-js
pieces
Piece loader for @sapphire/framework
Stars: ✭ 17 (+13.33%)
Mutual labels:  discord-js

node-red-contrib-discord

This project is deprecated and no longer maintained actively. Consider migrating to node-red-contrib-discord-advanced.

Node-red nodes that allow you to interact with Discord, via Discord.js. Currently, you can write simple request-reply bots with this. Though node-red-contrib-discord is production ready for small bots, it's a new project that might be difficult to use for those unfamiliar with Discord.js. It also hasn't been used yet for large Discord bot deployments.

Installation

Run the following command in ~/.node-red:

npm install node-red-contrib-discord

Nodes

node-red-contrib-discord gives you access to three nodes:

  • discordMessage is a node with no inputs and one output allowing you to receive notifications of incoming messages.
  • discordSendMessage is a node with one input and no outputs allowing you to send and edit messages in a Discord channel.
  • discordDeleteMessage is a node with one input and no outputs allowing the deletion of existing messages.
  • discordClient is an advanced deprecated node with one input and one output allowing you to inject a references to a Discord.js Client into a message. This node can cause node-red to crash if you use it improperly, so take caution. Messages containing a Discord.js Client reference can not be forked (e.g. sent to two nodes), so you'll have to manually remove the reference to the Client via a function node using delete msg.discord.

Changelog

See CHANGELOG.md for more info, including information regarding breaking changes per version.

Discord.js client sharing

All nodes share Discord.js clients based on the discord-token that they were configured with. That means that, when you add many discordMessage nodes configured with the exact same token, only a single connection with Discord will be made.

Example bot

A simple Discord bot that replies with the reverse of any received message that contains the string 'hello':

[{"id":"80df3061.aa44d","type":"tab","label":"Flow 1"},{"id":"39ffc50e.3e343a","type":"discordMessage","z":"80df3061.aa44d","name":"","token":"","x":279,"y":344,"wires":[["b046f00c.6ae94"]]},{"id":"28f8e2a5.b912de","type":"function","z":"80df3061.aa44d","name":"reverse payload message","func":"msg.payload = msg.payload.split('').reverse().join('');\nreturn msg;","outputs":1,"noerr":0,"x":743,"y":345,"wires":[["fd40145e.3aac88"]]},{"id":"b046f00c.6ae94","type":"switch","z":"80df3061.aa44d","name":"","property":"payload","propertyType":"msg","rules":[{"t":"cont","v":"hello","vt":"str"}],"checkall":"true","outputs":1,"x":483,"y":347,"wires":[["28f8e2a5.b912de"]]},{"id":"fd40145e.3aac88","type":"discordSendMessage","z":"80df3061.aa44d","name":"","channel":"","token":"","x":1001,"y":343,"wires":[]}]
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].