Discord Integration: A guide on using Discord through Roblox [UPDATED]

I’m so glad somebody made this, I used Discord webhooks all the time before roblox was blacklisted and really missed the functionality - that is until you created this proxy server. I wish I could’ve thanked your earlier! (just got in devforum)

also can i say how smart it is to have the server send a message through your webhook when it gets blacklisted

very intuitive design my dude

3 Likes

Oh you must be talking about the post marked as answer. @Osyris made that, not me. :smiley:

3 Likes

Oh my bad, still learning how this user interface works :joy:

3 Likes

Can someone help me? The proxy wont work for me. When i go to the webhook via the proxy i get Cannot GET /api/webhooks/(my webhook info)

I don’t even remember the context of this post, but shouldn’t the api version be in there

like /api/v6/webhooks/yadayadayada

1 Like

This is currently against ROBLOX ToS. My game was suspended because it had Discord Webhooks.

1 Like

Can you elaborate on how you were using Discord webhooks? Were you showing them to players? Did you send PII / chats of players unfiltered over the webhooks?

6 Likes

It was an application center. Everytime a response was sent, it was posted to a webhook. I guess thats unfiltered over webhooks, but is there a way around it?

What @buildthomas meant is basically:
Did you filter the players’ input (responses / application) before sending to Discord webhook?
See:

1 Like

Being a bit skeptical about discord webhooks and its legalities with ROBLOX, I decided to use zapier.com to collect webhooks from ROBLOX, then I would post the webhook from Zapier to Discord.

According to posts above, this would be legal, correct?

If its legal:

Use this (I would suggest pcalling the event, but im not sure if it is useful or not):

local webhook = "webhooklink" --Place link inside quotes

local success, message = pcall(function()	
	HttpService:PostAsync(webhook, "This is a webhook")
end)
  1. First option: Webhooks by Zapier
  2. Trigger Event: Catch Raw Hook (Catch raw body up to 2 MB)
  3. Copy the link and paste the link into the script
  4. Skip test and continue
  5. Second Option: Webhooks by Zapier
  6. Action Event: POST
  7. Paste your discord webhook link into “URL” box
  8. Payload Type “Json”
  9. Data box 1 should have “content”
  10. Data box 2, click “+Insert the field” button and click “Raw Body”. Although it says no data it will contain data whenever zapier is called
  11. Wrap request in array: no
  12. Unflatten: yes
  13. Continue, save without testing, and turn zapier on.
3 Likes

I haven’t gotten any errors with using Discord Webhooks, I’ve used them with anti-exploit logs and a group I worked for (British Army) used them and they have at least a hundred webhooks a day.

1 Like

Yeah, discord has now unblocked them and as long as you are not spamming you should be Ok I think

2 Likes

How would I set the bot image with the player name?

I would suggest reading the Discord Developer Portal to learn how to do other things with the webhook.

Edit: Though, I am willing to assist you further if you can explain more about what you are trying to do.

2 Likes

I figured it out 16 days ago but thanks!

Okay, apologies for the late reply lol.

1 Like

How do y’all do like an roblox to discord ordering system

How about adding a timer between any amount of errors sent? Like only 2 requests sent every 2 seconds and it won’t DDoS the Discord servers.
It’s like gillern (or gilern)'s suggestion system but in errors instead of suggestions

Well, it won’t DDoS the servers, you’ll just be ratelimited. Error logging on Discord is not the best, when you could do it on an alternative platform like Google Analytics.

https://developer.roblox.com/en-us/articles/Using-Google-Analytics

1 Like

You can get in trouble because discord do not approve of using their service for error logging.