Markoudstaal / node-red-contrib-discord-advanced

Recieve, send, edit and delete Discord messages in node-red.
MIT License
47 stars 16 forks source link

Payload is empty #54

Closed Th3M1k3y closed 2 years ago

Th3M1k3y commented 2 years ago

I am using the discordMessage node to capture messages, but the payload is empty.

The returned object looks like this

object
  _msgid: "d4439002d44069e1"
  payload: ""
  channel: object
  member: object
  memberRoleNames: array[1]
  memberRoleIDs: array[1]
  data: object
  author: object

My code has worked before where I just checked the content of msg.payload, but now it is empty, and I can't find the content of the message anywhere else. In msg.data.content it is also just ""

I am currently on version 3.3.3 of node-red-contrib-discord-advanced, but because it is so rarely used, I am not sure when it stopped working.

Are there anything I can do to debug this problem?

javis86 commented 2 years ago

Please see #53 for more information

Th3M1k3y commented 2 years ago

Please see #53 for more information

That was the problem...

It a bit confusing. All documentation on discord say bots under 75 servers are not affected, and only those above will have the option to turn it on. My bot is only on one server, and is affected too, and I also got that button, which should only be available for bots over 75 servers.