Trello API Help

I’m currently using Trello API to track blacklists (because I rather create my own system than use popular models) and I am wondering how I would get a Card Name from the certain list. So when the player joins the game, we want the script to check if their name is the same as a card name and if it is, it will kick them. But for some reason, the method I used doesn’t work. Does anyone have any suggestions/ideas? My script is below:

game.Players.PlayerAdded:connect(function(plr)
	local boardid = apimodule:GetBoardID("(board)")
	local listid = apimodule:GetListID("Blacklists",boardid)
	if plr.Name == apimodule2:SearchCardInList("(id)",plr.Name) then
		plr:Kick("You were recently blacklisted, this can only be appealed by a Corporate.")
	end
end)
1 Like

Just a world of advice, When you’re using any Module Scripts it helps if you could provide some insight on the module’s code. Specifically the functions.

1 Like

Would sending the actual API Model I used help?

1 Like