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

stalk ( userId:string [, allInformations:bool ], callback:fn )

Get the location of a user. If allInformations is true, you'll also receive the informations about the room and the user.

Warning

This function will make the bot becoming fan of the user.

Arguments

  • userId (required)
  • allInformations (optional) default: false
  • callback (optional)

Examples

bot.stalk(userId, callback);
bot.stalk(userId, true, callback);
Clone this wiki locally