Jump to content

Discord web hook issue


ItHadToComeToThis
 Share

You are about to reply to a thread that has been inactive for 1510 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

Trying to send a message to a channel on my discord server. I have the bot setup correctly and the URL is correct also. The code I am using to send the message is :

 

llHTTPRequest(webHookURL, [HTTP_METHOD,"POST", HTTP_MIMETYPE, "application/x-www-form-urlencoded"], "{\"content\":\"Some message\"}");

 

The error I am getting back is : {"message": "Cannot send an empty message", "code": 50006}

 

Where have I gone wrong. Is my JSON string not formatted correctly?. It looks correct to me.

Discord webhook example page : https://birdie0.github.io/discord-webhooks-guide/discord_webhook.html

Edited by ItHadToComeToThis
Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 1510 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...