[NEED HELP] Basic Admin to discord bot

Hello!

I am a web developer and a ROBLOX programmer! I was wondering if anyone knows how to connect an admin system with a discord bot or code. You can dm me on discord at zqlectric#0001 or on the developer forum!

2 Likes

You should first make a webhook/webhooks on your discord server for whichever channel/channels you want. Then you can use this:

local httpService = game:GetService("HttpService")
local webhookurl = "" --put the webhook URL here

local data = {
	["embeds"] = {
		{
			["title"] = "",
			["description"] = "",
			["color"] = 0x08FEE8
		}
	}
}
local finalData = httpService:JSONEncode(data)
httpService:PostAsync(webhookurl, finalData)
1 Like