Closed mateusrovedaa closed 2 years ago
I'm facing how to resolve this because with my actual environment of node-red interactionObject serialize ok. But testing outside i got this error. A quickest way is adding
BigInt.prototype.toJSON = function () {
return this.toString()
}
at the top of lib/discordBotManager
When I use the interaction node to listen a button interaction, an error is being returned:
The flow I'm trying to use is the same as the example provided here on the Wiki, both the one that sends the message and creates with the buttons and the one that listens for an interaction.
I think this problem happens with commands too.