Call Admin API - Requesting Help

Hey @everyone!!

I’m a pretty new scripter and I was wondering how I would make a script that when someone does :calladmin it will make a trello card and allow me to see the callers name.

Sorry to bother everyone.

We cannot help you without providing us code.

The trello API is open-sourced, I recommend checking it out. https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-post

Attaining the callers name is as simple as using speaker.Name from the .Chatted function you are using.

Here’s a simple .Chatted event, which you can hook up with your trello card creation.

local Players = game:GetService('Players')
local Prefix = ':'

local Debounces = {}
local DebounceTime = 60 -- in seconds

Players.PlayerAdded:Connect(function(Player)
	Player.Chatted:Connect(function(Message)
		if Message:lower() == Prefix .. 'calladmin' then
			if Debounces[Player] then return end -- avoid them spamming it (?)
			Debounces[Player] = true
			
			-- Create the trello card, look it up:
            -- https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-post
			
			wait(DebounceTime)
			Debounces[Player] = nil
		end
	end)
end)