User
All user methods respond with a promise.
Fetch user's information.
api.fetchUser("348853688179359746", "discord").then((user) => {
console.log(user.robloxUserId); // 79291163
});
api.fetchUser("79291163", "roblox").then((user) => {
console.log(user.discordUserId); // 348853688179359746
});
Last updated
Was this helpful?