Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

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

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

2 comments

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

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.

1 answer

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)

1 comment

0

no not a webhook a bot

This discussion is preserved as it was. New answers, comments, and votes are closed.