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

[events] userJoin

Sunciits edited this page Jun 23, 2016 · 3 revisions
Key Type Description
username String Username of user
sub Int (0 - no subscriber, 1 - subscriber)
language String Language of user
level Int User level
avatarID String Avatar of user
joined Time Time when user joined plug.dj
id String User ID of user
badge String Badge of user
role Int User role in the room
grole Int User global role (BA, Admin)
slug String Users slug
silver Bool User is silver subscriber
guest Bool User is guest

Example

{
    username: 'username',
    sub: 0,
    language: 'en',
    level: 4,
    avatarID: 'base10',
    joined: '2016-06-13 09:25:56.758020',
    id: xxxxxxxxxx,
    badge: null,
    role: 3,
    gRole: 0,
    slug: 'username slug',
    silver: false,
    guest: false
}
Clone this wiki locally