Skip to content
alaingilbert edited this page Dec 15, 2011 · 1 revision

getProfile ( [[userId:string, ]callback:fn] )

Get a user profile.

If userId is not declared, it will return your own profile.

Arguments

  • userId (optional)
  • callback (optional)

Examples

bot.getProfile(callback);         // Get your profile
bot.getProfile(userId, callback); // Get someone else profile
Clone this wiki locally