Closed safazi closed 6 years ago
Can we see the code please
var rbx=require('roblox-js');
var username='redacted';
var password='redacted';
function login(){
return rbx.login(username,password);
}
login().then(function(a){
rbx.getCurrentUser('UserName').then(function(name){
console.log(name);
})
rbx.message({recipient: redacted,subject:'whats brackin',body:'hi there buddy its me'}).then(function(){
console.log('message sent');
}).catch(function(err){
console.log(err.message);
});
});
logs to console: "Message failed" This means the status is not 200.
I also cannot see your error. ROBLOX added a captcha for some messages. Ensure that you can msg that user on your account. (Manually)
On Sun, 18 Mar 2018, 18:41 safazi, notifications@github.com wrote:
var rbx=require('roblox-js');
var username='redacted'; var password='redacted';
function login(){ return rbx.login(username,password); }
login().then(function(a){ rbx.getCurrentUser('UserName').then(function(name){ console.log(name); }) rbx.message({recipient: redacted,subject:'whats brackin',body:'hi there buddy its me'}).then(function(){ console.log('message sent'); }).catch(function(err){ console.log(err.message); }); });
— You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/sentanos/roblox-js/issues/94#issuecomment-374030853, or mute the thread https://github.com/notifications/unsubscribe-auth/AYNwiX0Zl1KvSopHlYNt-fSZB2ngVVqWks5tfqpLgaJpZM4SvT9d .
i can send messages on that account. err.message is "Message failed"
Problem solved by manually sending a message on the account. All messages after that work fine.
all of my arguments are correct, and i am using a rbx.jar() sorry for bad formatting lmfao