Skip to content
On this page

request.version

A Util to get the current version of this or other Clients and MarcSync API.

:get(clientId: clientId?)

Will Return an HTTP-Respone for the specified Client or the current Client if no clientId is specified.

lua
--///

local Version = MarcSync.request.version:get()

/*{
    ["success"] = true,
    ["updateServer"] = "https://discord.gg/y4ECW4KCC6",
    ["version"] = "0.3.0"
}*/