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

[actions] getHost

Talos51 edited this page Jun 2, 2015 · 2 revisions

getHost()

Get the host of the room.


Returns

User object of the host or null if not currently in the room.


Example

bot.getHost();
/*
{
    username: 'username',
    status: 0,
    fans: 3,
    listenerPoints: 164,
    language: 'en',
    avatarID: 'bud03',
    id: 'xxxxxxxxxxxxxxxxxxxxxxxx',
    curatorPoints: 0,
    djPoints: 76
}
*/
Clone this wiki locally