Which then outputs into a discord send messages node.
When a message is sent to the bot in a server channel, the response is as expected, with the bot replying "Anything". However, when a message is sent to the bot through a DM channel, the error occurs.
Yep. Sending DM functionality not yet implemented. I was planning to add this feature and update discord.js to the latest version, but for now, I can't find time for this.
The Problem:
When the
discord send messages
node is used to send a message to a direct message (DM) channel, an error occurs:Reproducing the Error:
For this error to occur, I have a simple flow consisting of a
discord get messages
node, leading into afunction
node that reads:Which then outputs into a
discord send messages
node.When a message is sent to the bot in a server channel, the response is as expected, with the bot replying "
Anything
". However, when a message is sent to the bot through a DM channel, the error occurs.The Flow: