Ingame developer contact/feedback section

I have seen it in a game so that’s how I know it is possible. The thing I saw was like a guild with level, leader, members and chat. The chat stood there every time I rejoined the game and it was updating real-time so if any of the guild members don’t share the same server they keep the contact between them.

As @Mil_dev said. u can use Discord Webhooks. To add a Webhook u can go to your Discod Server and in Channel Settings go to Webhook and create one.

After the webhook is created u need the URL of the webhook, now u can use HTTPService to send a Post Request the the Webhook url

1 Like

U can create your own Webserver and your own Discord bot to pull information from your Discord Server

What do you mean by that? Messenger just doesn’t have these functions.

I’m making a tutorial for you on how to make webhooks.

1 Like

I know a very good tutorial for webhooks so no need, but I appreciate it. Also looks like most of you didn’t understand correctly what I ment by “messenger”. It should be like when someone sends a message then I see it in the format as how I see messages on my e-mail (my own design) so when I click it then it shows the text and keeps the author identifications on the top. Btw currently working on webhook option.

u can add the author in the text content or create a rich embed

1 Like

Discord’s rate limits are pretty reasonable, so you won’t have to worry about your limit (as long as you use a Debounce) and ensure that players don’t spam post messages. However remember that Discord is a messaging system, so it is not ideal to use it for storing data such as player reports and messages. If you believe that your game is relatively small and would help, this is how to post on Webhooks from LocalScripts. Because LocalScripts cannot access Roblox’s HTTP service, you have to use RemoteEvents. This would be the LocalScript in the submit button of the GUI:

local Remote = game.ReplicatedStorage["Your remote's name"]
local Player = game.Players.LocalPlayer
local TextBox = --Reference the TextBox where the player types in.

script.Parent.MouseButton1Click:Connect(function()
    local message = TextBox.Text
    Remote:FireServer(message)
end)

Note that the first parameter sent to the server would automatically be the player firing the event. So the server script would be:

local Remote = game.ReplicatedStorage["Your remote's name"]
local HTTP = game:GetService("HttpService")
local Webhook = " " --Store it into a variable.
Remote.OnServerEvent:Connect(function(player,message)
    local Text = {
        ["content"] = message
    }
    local Encoded = HTTP:JSONEncode(Text)
    HTTP:PostAsync(Webhook,Encoded)
end)

Aaaaaaaaaaaaaaaaaaaaand you just stated that you don’t need this tutorial, so I’ll just leave it here for a random developer passing by in the future who needs this! XD

2 Likes

Just to be sure I made a quick one to show I hope the images shown will be understandable, it’s harder to do on mobile. Anyways here you go! :smiley:
Tutorial Image:

1 Like

If you don’t understand this I suggest you clicking “need help with setup?”.

I have made the Script in the ServerScriptService, the LocalScript in the Send TextButton, the RemoteEvent in ReplicatedStorage, the Webhook in a channel on discord, but it doesn’t seem to trigger anything even though I have edited the parts you told me to. So the thing looks like this:
webhook discord in roblox




Also yes, I have tested it using the actual Roblox game, not in studio.

@DevOkami You are maybe away so I will ping you just to make sure you appear after some time :slightly_smiling_face:.

1 Like

I’m here in case you need help.

You made a typo

image

1 Like

Thanks! As I don’t understand HTTP service I didn’t recognize this mistake while copying the code.

Hello tomsterBG!
Quick note, if this thing works and you feel like that person made it work please make a solution on there message so people can see this post has been solved and doesn’t need help anymore.

1 Like

Yes I know, I was scripting the gui openings so I can actually access this tab when open the game, but still I appreciate that you care about that!
Edit: Ok I tested the thing again, but it doesn’t seem to work. I think that it’s missing something so I will go and check the webhooks tutorial I spoke of earlier (Discord Integration: A guide on using Discord through Roblox [UPDATED]).

Hello! Make sure your http service is on, Go to studio >> Game Settings >> Enable Http Requests.

1 Like

Oh thanks! I haven’t noticed that thing before

Alright, the solution is finished! Thank you all for helping!!!

2 Likes