Skip to content
This repository has been archived by the owner on Jul 3, 2021. It is now read-only.

[actions] getSelf

Igor Antun edited this page Apr 12, 2015 · 2 revisions

getSelf()

Get yourself.


Returns

User object of yourself.


Example

bot.getSelf();
/*
{
    avatarID: "rave08",
    badge: "music-s04",
    blurb: "plugAPI",
    ep: undefined,
    gRole: 0,
    id: XXXXXXXX,
    ignores: Array[0],
    joined: 2014-12-16 12:13:14.982713,
    language: "en",
    level: 4
    notifications: Array[0],
    pVibes: undefined,
    pw: true,
    role: 0,
    slug: "plug-api",
    status: 0,
    username: "Plug API",
    vote: 0,
    xp: 623
}
*/
Clone this wiki locally