Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
3

Can I use http service for a discord bot to sent data to roblox?

Asked by
danglt 185
5 years ago
Edited 5 years ago

A more understandable version of the title, I would like to make a script that i could get data from discord and send it to roblox, rather than roblox sending data to discord. ex : i say "!shout Hello, this is a message from discord" in the discord chat and in all of the ingame servers it will create a Message that says "Hello, this is a message from discord".

I'm not asking for a script, I would appriciate it if you did though, I just want somewhere to start such as a devforum or roblox wiki or youtube link. Thank you

0
I know it is possible to connect roblox to databases using the http service, so I don't see why you wouldn't be able to make a discord bot connect to roblox using an http service SteamG00B 1633 — 5y
0
Just have to let you know that it will require a ton of your time to figure out the stuff you will need to learn, especially if you don't understand the discord bot part. SteamG00B 1633 — 5y

1 answer

Log in to vote
0
Answered by
moo1210 587 Moderation Voter
5 years ago

I think what your thinking of is a webhook, discord adds a blue BOT to it for whatever reason, yes this is possible normally you would directly use send to discord but discord deined roblox's IPs to use the webhooks because of rate limit abusing. However someone made a proxy server that follows the rate limits, so request https://discord.osyr.is, credit to this post. First you have to make a webhook for the channel, you can learn to do that here. After that use this script you will have to edit some parts which I say in the script.

local HttpService = game:GetService("HttpService")
local webhook = "https://discord.osyr.is/api/webhooks/" -- before the " copy the part from where this starts (the / in webhooks) and to the end
local webhookdata = "" --add what you want it to say inside the ""
HttpService:PostAsync(webhook,webhookdata)
0
no not a webhook a bot danglt 185 — 5y
Ad

Answer this question