async function updateClientInfo( slot, property, value )
{
    if( client == undefined )
        client = []

    var clientObj = client.find( client => client.slot == slot )

    // create new entry if empty
    if( clientObj == undefined )
    {
        client[client.length] = {}
        clientObj = client[client.length-1]
        clientObj.slot = slot
    }

    if( slot == undefined || property == undefined || value == undefined )
        return ErrorHandler.minor(`Error in updateClientInfo(): one of the args was undefined.\nSLOT: ${slot}\nProperty: ${property}\nValue: ${value}`)

    clientObj[property] = value
}
// update 1 property of the clientObj which matches slot

update 1 property of the clientObj which matches slot
update 1 property of the clientObj which matches slot
async function updateClientInfo( slot, property, value )
{
    if( client == undefined )
        client = []
    var clientObj = client.find( client => client.slot == slot )
    if( clientObj == undefined )
    {
        client[client.length] = {}
        clientObj = client[client.length-1]
        clientObj.slot = slot
    }
    if( slot == undefined || property == undefined || value == undefined )
        return ErrorHandler.minor(`Error in updateClientInfo(): one of the args was undefined.\nSLOT: ${slot}\nProperty: ${property}\nValue: ${value}`)
    clientObj[property] = value
}
async function updateClientInfo ( slot , property , value ) { if ( client == undefined ) client = [ ] var clientObj = client . find ( client => client . slot == slot ) if ( clientObj == undefined ) { client [ client . length ] = { } clientObj = client [ client . length - 1 ] clientObj . slot = slot } if ( slot == undefined || property == undefined || value == undefined ) return ErrorHandler . minor ( ` \n ${ slot } \n ${ property } \n ${ value } ` ) clientObj [ property ] = value }
update 1 property of the clientObj which matches slot
update 1 property of the clientObj which matches slot
// create new entry if empty
