Attach Unit To Call

This endpoint allows you to attach a unit to an active call.

AttachCall(data, callback)

POST https://imperialcad.app/api/1.1/wf/attachcall


Request Body

Name
Type
Description

users_discordID

string

The discord ID of user

callnum

number

Number of Call


Example

exports["ImperialCAD"]:AttachCall({
    users_discordID = "123456789012345678",
    callnum = 204
}, function(success, res)
  print(success and "Unit attached." or ("Failed: " .. res))
end)

Last updated

Was this helpful?