Other's feedback messages aren't showing

  1. What do you want to achieve? Keep it simple and clear!
  • I want it so the feedback message others are sending is visible, but unfortunately the message box is empty. It just shows the message i am sending.
  1. What is the issue? Include screenshots / videos if possible!

yes
(I’m using Guilded because Discord isn’t supported)

  1. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
  • Yes, none worked.

////////////////////////////////

Here’s the code i have.

[[ Server ]]

local url = "https://media.guilded.gg/webhooks/44c5c673-fdb9-473e-8f8b-1d44f0a66eab/9MSYjGlKtqCo2u2aOsGWW0cqUCQIAU2Oiia4ueMk0QGmIMw8CuaC08M68oiWIGeiaC0qmSYmywm0y0qWYIoieI"

local http = game:GetService("HttpService")
local cooldown = 5
local event = game.ReplicatedStorage.Events.Feedback

event.OnServerEvent:Connect(function(Client, Message)
	if not script:FindFirstChild(Client.Name) then
		local PlayerValue = Instance.new("BoolValue", script)
		PlayerValue.Name = Client.Name
		
		local data = {
			["content"] = Client.Name..[[ has sent a feedback!
			The feedback was: ]]..Message
		}
		
		local finaldata = http:JSONEncode(data)
		http:PostAsync(url, finaldata)
		
		wait(cooldown)
		script[Client.Name]:Destroy()
	end
end)

[[ Client ]]

script.Parent.TextButton.MouseButton1Click:Connect(function()
	game.ReplicatedStorage.Events.Feedback:FireServer(script.Parent.TextBox.Text)
end)

People are probably sending empty strings. You can filter them out if you want.

Discord is not supported but other API that sends discohook are supported.

Well, yes i know that’s why im using guilded.

Yeah, probably.
People were playing my game and probably thought “hmm what feedback should i send? oh. empty.”

1 Like

Yeah, that was the issue. Stupid me thought people wouldn’t send empty feedbacks

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.