Skip to content

Latest commit

 

History

History
37 lines (21 loc) · 1.71 KB

CHANGELOG.md

File metadata and controls

37 lines (21 loc) · 1.71 KB

Changelog

5.0

  • 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 uses discordClient.
  • 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.

4.0.3

  • Fixed exception occurring when a DM is received from a user.

4.0.2

  • Added msg.member and msg.memberRoleNames to messages.

4.0.1

  • 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.

4.0.0

  • BREAKING CHANGE: msg.channel and msg.author are once again objects.

3.0.0

  • BREAKING CHANGE: Reverted the change in 2.0.0. This was causing too many issues (such as #4). The channel and author 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.

2.0.x

  • BREAKING CHANGE: When receiving a message from Discord, the channel and author properties of the emitted node-red message will now contain full objects instead of IDs.

1.0.0 - 1.0.4:

Initial publicly usable versions of node-red-contrib-discord.