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

[actions] getDJ

Sunciits edited this page Jun 19, 2016 · 4 revisions

getDJ()

Get the current DJ in the room.


Returns

User object of the current DJ in the room or null if none is currently DJing.


Example

bot.getDJ();
/*
{
    avatarID: 'base10',
    badge: 'style04',
    blurb: undefined,
    gRole: 0,
    grab: false,
    id: 14499521,
    ignores: null,
    joined: 'xxxx-xx-xx xx:xx:xx.xxxxx',
    language: null,
    level: 4,
    notifications: undefined,
    pp: undefined,
    pw: undefined,
    role: 3,
    slug: null,
    status: 1,
    sub: 0,
    username: 'xxxxxxxxx',
    vote: 0,
    xp: undefined
}
*/
Clone this wiki locally