So I have a functioning http service caller that lets the webhook send a message to the specific channel, it is working just like this: finish required actions → ask webhook to post → message sent to discord
and i am hoping to get the message id of the message sent, for example the webhook sent a message that says “hi” and i want to get the message id of that particular message for other use, is there any way for me to get it? Because I don’t seem to find a way to find it. Thanks
Not from a webhook. Those are one way. You’ll need to create a bot user.
Node.js makes this pretty easy. You can use the discord.js
package and connect a message
event. discord.js
You can have the same functionality as a webhook through a bot user on Roblox using Discord’s Create Message endpoint which returns a message object containing the ID
1 Like
i do have a discord bot online and i do know some javascript
but can I ask a bot instead of a webhook to send a message?
or i need to use a bot to detect when the webhook sends a message and then post back to roblox?
Just add ‘?wait=true’ in the webhook link. it will return message data.
source: Reddit - Dive into anything