Getting game suggestions from players (Do I use Glitch?)

So I have learned how to create a bot that is allowed to change group roles through a Roblox game using Glitch, but now I am wondering a couple of things:

  1. How do devs script suggestion areas (the text-boxes that you can type in and send to the developer)

  2. Is there an easy way to use Glitch here?

I am basically looking for a video or DevForum post that explains how to do this

I haven’t found anything close to the matter as a video or DevForum post

Thanks for any support you can give :smile:

2 Likes

I think most people use Trello due to there being an open-sourced TRELLO API.

https://www.roblox.com/library/214265621/Trello-API-Original

1 Like

@SevenDevelopment
Alright a couple more questions:

  • Is there a good YouTube video explaining how to do this?

  • Does Trello save to some viewing place on the website, or go to other documentation websites like Google Docs?

You helped me figure out how to create a group ranking bot, didn’t you?

It would send the user suggestions/responses directly to TRELLO.

Also, yes, there’s plenty.

1 Like

You can use datastores to create a suggestion box.
They store values based on string.
Dont underestimate little things like the name.

function GetSuggestionCount()
     local DSS = game:GetService("DataStore Service")
     local Suggestions = DSS:GetDataStore("Suggestions")
     local Count = Suggestions:GetAsync("Count")
     return Count
end
function CreateSuggestion(Suggestion)
     local DSS = game:GetService("DataStore Service")
     local Suggestions = DSS:GetDataStore("Suggestions")
     local Count = GetSuggestionCount()
     Count = tostring(tonumber(Count) + 1)
     Suggestions:SetAsync("Count",Count)
     Suggestions:SetAsync(Count,Suggestion)
end
function GetSuggestions()
     local DSS = game:GetService("DataStore Service")
     local Suggestions = DSS:GetDataStore("Suggestions")
     local Count = GetSuggestionCount()
     Count = tonumber(Count)
     local SuggestionList = {}
     for i = 1,Count do
         local StringN = tostring(i)
         local StoredInfo = Suggestion:GetAsync(StringN)
         local Data = {StringN,StoredInfo}
         table.insert(SuggestionList,Data)
         wait(0.1)
      end
    return SuggestionList
end
1 Like

@minimic2002 how would you be able to view DataStores?

You use :GetAsync() to get the data.
All its doing is getting the total number of suggestions. and as they are each named the number you can store the suggestion count and then use a for loop to go through each suggestion. Or you can access them individually *I recommend this.

My DataStore Script: