Problems with webhook

Hello! I trying to make a discord webhook logger for my game, but i have issues: logger working only in roblox studio. Like: I join in roblox studio - webhook writes about it, I join in roblox - webhook doesn’t do anything.

local Data = {
		["content"] = Player.Name.. " Is joining the game! Coins: ".. Player.leaderstats.Coins.Value
	}

	Data = http:JSONEncode(Data)

	http:PostAsync("link", Data) 
2 Likes

Replace https://discord.com/api/webhooks/
To
https://hooks.hyra.io/api/webhooks/

Like the example below.

Was:
https://discord.com/api/webhooks/1030302001/AisDPpdoAPpaPA

Now:
https://hooks.hyra.io/api/webhooks/1030302001/AisDPpdoAPpaPA

In roblox it writes 403 error, but when i go to link using browser it works.

1 Like

Be aware that discord blocks roblox APIs so this may affect your result.

1 Like