Skip to content

Tag: node.js

Discord.js user isnt mentioned

I have a problem with sending messages when a user is tagged or not, I’m working on the pp command (as in dankmemer) but after adding the code so that I can tag a person the bot crashes, what I mean is that after tagging a person it will send a message in the title it will say the user’s

Nodejs Extra Data in FormData

I am sending a http request with a file to Sharepoint. Some file types, such as png or other images become corrupted and unreadable. When looking at those I see extra object data at the head e.g. and at the bottom: Is there a way to prevent this? The code I am using looks like: Answer I was eventually able