- BREAKING CHANGE: Updated the code base to use DiscordJS V12. This is a breaking change for users of the
discordClient
node. See the Discord.js upgrade documentation for information on how to migrate your own code that usesdiscordClient
. - Added discordDeleteMessage with the ability to delete existing discord messages.
- Added ability to edit messages by providing a message id to the discordSendMessage node.
- Updated node documentation.
- Fixed exception occurring when a DM is received from a user.
- Added
msg.member
andmsg.memberRoleNames
to messages.
- Added ability to send attachments. Simply set
msg.attachment
to a path to a local file or public URL to add it as an attachment to a message.
- BREAKING CHANGE:
msg.channel
andmsg.author
are once again objects.
- BREAKING CHANGE: Reverted the change in 2.0.0. This was causing too many issues (such as #4). The
channel
andauthor
properties are now IDs instead of objects. This also means that it's no longer possible to send messages to users by modifying the node-red message appropriately (msg.channel = msg.author
). - BREAKING CHANGE: The full Discord message data is no longer accessible via the emitted node-red message's
data
property. This was a bit of an antipattern that shouldn't have been included.
- BREAKING CHANGE: When receiving a message from Discord, the
channel
andauthor
properties of the emitted node-red message will now contain full objects instead of IDs.
Initial publicly usable versions of node-red-contrib-discord
.