Don't suppose anyone knows what is wrong with this
// Test
exports.onMessage = function(msg, dobby) {
var terms = msg.split(" ");
var command = terms.shift();
terms = terms.join(" ");
if (command == '.test2') {
dobby.client_from.get_uid(function(err, uid) {
if (uid == 'USERS UID') {
dobby.client.private_message("yes")
} else {
dobby.respond("no")
return;
}
}
}
any and all help is very much appreciated.
Don't suppose anyone knows what is wrong with this
any and all help is very much appreciated.