Sheerpython
Member
Hello tried creating a small script for my bot to check how long people are alone in a channel in my ts3 server. 
The query below is what I am trying to run and this part works.
	
	
	
		
But the part that is giving me problems is what it returns in the logs.
Its suppost to return something like this:
Am i just doing something wrong or did i miss something in the documentation?
If someone knows the answer please comment
Greetings,
Roy.
				
			The query below is what I am trying to run and this part works.
		Code:
	
	if (dbc) dbc.query("SELECT * FROM alone_time WHERE tsid = '" + client.uid() + "';" , function(error, result) {
  engine.log(result);
});
	[{"time":[49,50,51,49,50,51,49,50,51],"tsid":[90,72,82,109,43,82,69,115,122,112,68,112,117,50,82,101,111,79,51],"user_name":[65,110,97,98,111,108,105,102,97,110,116]}]Its suppost to return something like this:
{"time":'123123123', "tsid":'ZHRm+REszReoO330UWiL5o=', "user_name":'testuser'}Am i just doing something wrong or did i miss something in the documentation?
If someone knows the answer please comment
Greetings,
Roy.