Discord to Webhook Message

Hi! I have started to script, and as I am pretty good and making models and basic scripts, I’m having trouble making most scripts.

For my cafe that is in development, I’d like to have a TextButton that when clicked sends a message to discord through a webhook.

I have already looked through MANY devfourm pages already sent, but none seem to tailor to what I need. Can Anyone help? Thank you so much!

this is my first post on the devfourm so tell me if i did anything wrong when I posted!!!

1 Like

From memory the discord API blacklisted roblox so you will need to setup a proxy to be able to send data to discords api

Thank you, after I do that, how should I go about making the script? Do you know? If not, no worries.

1 Like

I will show u This video that explains it.
(Do note it is quite old)

It isn’t exactly the way I was wanting. No worries thanks for responding!

Someones gonna hand it to me, Change discord.com or discordapp.com to webhook.lewistehminerz.dev

Please be warned that Discord banned ROBLOX IP addresses because people are using it as a logging service, which it isn’t. If you plan to use this to log things that happen within the game, please find another service to use. Otherwise, you can follow the instructions below:

Discord Webhooks use a REST API, which you can use in conjunction with the HttpService to post messages through webhooks. You can find the documentation for it here. You can use the function :PostAsync() and post it through your proxied webhook link. You can also find the parameters to use within the function here. You can also find the Discord Webhook API for posting messages and content. In this case where you want to send a message, you would send the actual message in the content field. Webhook API.

I hope this helps!

1 Like

TYSMMMMM, this helps a lot! I will put this to good use.

1 Like